-
Notifications
You must be signed in to change notification settings - Fork 990
Add GitHub Models provider #2114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add GitHub Models provider #2114
Conversation
PR Change SummaryAdded support for GitHub Models inference provider, enhancing compatibility with OpenAI and enabling authentication via GitHub personal access tokens.
Modified Files
How can I customize these reviews?Check out the Hyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sgoedecke Thanks Sean! I left a few comments, and can you please have a look at the failing test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sgoedecke Thanks Sean! I left a few comments, and can you please have a look at the failing test?
@DouweM Thank you for your thoughtful comments. I've pushed up some changes and fixed up the tests. |
This PR adds support for the GitHub Models inference provider (GitHub's own inference API). It's OpenAI compatible and uses a GitHub PAT (or any token with the right permission) for authentication.
I'm pretty sure GitHub meets the 10k stars requirement for adding a new model, but please let me know if you'd prefer this be handled differently. I'm very happy to make any adjustments or changes.