-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
GitHub Copilot provider: add gpt-5.5 and claude-opus-4.7-1m-internal to default model list #72805
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
The GitHub Copilot provider's
DEFAULT_MODEL_IDSinextensions/github-copilot/models-defaults.tsis missing two models that are currently advertised by the Copilot backend (https://api.githubcopilot.com/models):gpt-5.5— generally available to Copilot usersclaude-opus-4.7-1m-internal— 1M-context Opus 4.7, available to Pro+ subscribersCurrent hardcoded list:
Evidence
Querying the Copilot models endpoint with a valid token returns (excerpt):
So users today have to manually add these IDs to
agents.defaults.modelsin~/.openclaw/openclaw.jsonto use them, even though Copilot exposes them.Suggested change
Add (at minimum)
gpt-5.5andclaude-opus-4.7-1m-internalto the default list. While in there, the broader GPT-5.x family (gpt-5.4,gpt-5.4-mini,gpt-5.3-codex,gpt-5.2-codex) is also worth considering.For the 1M-context entry, it may also be worth surfacing a more accurate
contextWindowthan the current default (128_000) when the model id ends with-1m/-1m-internal.Workaround for users
Manually patch config:
After
openclaw config validatethey appear inopenclaw models list --provider github-copilot.Environment
2026.4.25-beta.11Copilot-Integration-Id: vscode-chat)