Sync model info of Copilot provider with Copilot official API#1104
Open
hugefiver wants to merge 1 commit intoanomalyco:devfrom
Open
Sync model info of Copilot provider with Copilot official API#1104hugefiver wants to merge 1 commit intoanomalyco:devfrom
hugefiver wants to merge 1 commit intoanomalyco:devfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Copilot provider’s model metadata to better match Copilot’s official API, primarily by adding explicit limit.input and adjusting token limits / modalities.
Changes:
- Add
limit.inputacross many GitHub Copilot model TOMLs. - Update
limit.context/limit.outputvalues for several GPT/Claude models. - Restrict Gemini preview models’ input modalities to
["text", "image"](from broader modality lists).
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| providers/github-copilot/models/gpt-5.4.toml | Adds limit.input for GPT-5.4. |
| providers/github-copilot/models/gpt-5.3-codex.toml | Adds limit.input for GPT-5.3-Codex. |
| providers/github-copilot/models/gpt-5.2.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/gpt-5.2-codex.toml | Adds limit.input; updates limit.context. |
| providers/github-copilot/models/gpt-5.1.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/gpt-5.1-codex.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/gpt-5.1-codex-mini.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/gpt-5.1-codex-max.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/gpt-5-mini.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/gpt-4o.toml | Adds limit.input; updates limit.context / limit.output (and adds explanatory comment). |
| providers/github-copilot/models/gpt-4.1.toml | Adds limit.input; updates limit.context (and adds explanatory comment). |
| providers/github-copilot/models/gemini-3.1-pro-preview.toml | Adds limit.input. |
| providers/github-copilot/models/gemini-3-pro-preview.toml | Adds limit.input; restricts input modalities to text+image. |
| providers/github-copilot/models/gemini-3-flash-preview.toml | Adds limit.input; restricts input modalities to text+image. |
| providers/github-copilot/models/gemini-2.5-pro.toml | Adds limit.input; restricts input modalities to text+image. |
| providers/github-copilot/models/claude-sonnet-4.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/claude-sonnet-4.6.toml | Adds limit.input; changes limit.context (and adds explanatory comment). |
| providers/github-copilot/models/claude-sonnet-4.5.toml | Adds limit.input; updates limit.context. |
| providers/github-copilot/models/claude-opus-4.6.toml | Adds limit.input; updates limit.context. |
| providers/github-copilot/models/claude-opus-4.5.toml | Adds limit.input; updates limit.context. |
| providers/github-copilot/models/claude-haiku-4.5.toml | Adds limit.input; updates limit.context. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.