docs: remove GitHub Models references from README#269
Merged
Conversation
GitHub Models is no longer available to new customers (see https://github.blog/changelog/2026-06-16-github-models-is-no-longer-available-to-new-customers). Update README to point at GitHub Copilot instead of GitHub Models for token entitlement, and change the example AI_API_ENDPOINT from models.github.ai/inference to api.githubcopilot.com. The github-models provider remains functional in capi.py for existing users; this only removes it from documentation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s README configuration guidance to remove references to GitHub Models (no longer available to new customers) and align the documented defaults with GitHub Copilot.
Changes:
- Updates the README to reference GitHub Copilot (instead of GitHub Models) for
AI_API_TOKENentitlement. - Updates the example
AI_API_ENDPOINTfromhttps://models.github.ai/inferencetohttps://api.githubcopilot.com.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates configuration docs to point to GitHub Copilot and the Copilot API endpoint instead of GitHub Models. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
README.md:212
AI_API_TOKENis described as a “GitHub token”, but this env var is used as the bearer token for whicheverAI_API_ENDPOINTis configured (the code supports non-GitHub providers like OpenAI as well). This wording (and the<your_github_token>placeholder) can mislead users who pointAI_API_ENDPOINTat a non-GitHub API.
Provide a GitHub token for an account that is entitled to use [GitHub Copilot](https://github.com/features/copilot) via the `AI_API_TOKEN` environment variable. Further configuration is use case dependent, i.e. pending which MCP servers you'd like to use in your taskflows. In a terminal, you can add `AI_API_TOKEN` to the environment like this:
```sh
export AI_API_TOKEN=<your_github_token>
</details>
- **Files reviewed:** 1/1 changed files
- **Comments generated:** 0
p-
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Models is no longer available to new customers.
Updates the README to:
AI_API_ENDPOINTfrommodels.github.ai/inferencetoapi.githubcopilot.comThe
github-modelsprovider remains functional incapi.pyfor existing users; this only removes it from documentation.