Skip to content

Sync model info of Copilot provider with Copilot official API#1104

Open
hugefiver wants to merge 1 commit intoanomalyco:devfrom
hugefiver:dev
Open

Sync model info of Copilot provider with Copilot official API#1104
hugefiver wants to merge 1 commit intoanomalyco:devfrom
hugefiver:dev

Conversation

@hugefiver
Copy link

No description provided.

Copilot AI review requested due to automatic review settings March 6, 2026 10:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.input across many GitHub Copilot model TOMLs.
  • Update limit.context / limit.output values 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants