Skip to content

fix: remove gpt-5.5 from agent model alias#43229

Merged
pelikhan merged 1 commit into
mainfrom
copilot/fix-issue
Jul 3, 2026
Merged

fix: remove gpt-5.5 from agent model alias#43229
pelikhan merged 1 commit into
mainfrom
copilot/fix-issue

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

gpt-5.5 does not support the /chat/completions endpoint used by the Copilot SDK, causing CAPIError: 400 failures in any workflow where the agent fallback chain reaches it. When the failure coincides with an exhausted AI credits budget, the harness cannot retry and the job fails hard.

Changes

  • data/model_aliases.json — drop gpt-5.5 from agent alias; chain is now sonnet-6x → gpt-5.4 → gpt-5.3 → gemini-pro → any
  • model_aliases_test.go / model_aliases.go — sync assertion and doc comment
  • testdata/ golden files — regenerated
  • *.lock.yml — recompiled (258 workflows)

…completions)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan July 3, 2026 15:49
@pelikhan
pelikhan marked this pull request as ready for review July 3, 2026 15:50
Copilot AI review requested due to automatic review settings July 3, 2026 15:50
@pelikhan
pelikhan merged commit e9c7731 into main Jul 3, 2026
@pelikhan
pelikhan deleted the copilot/fix-issue branch July 3, 2026 15:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes gpt-5.5 from the agent model alias fallback chain so workflows don’t fall back to a model that fails against the Copilot SDK /chat/completions endpoint, reducing hard failures when retries are constrained by AI credit limits.

Changes:

  • Updated the built-in agent alias definition to remove gpt-5.5 and synced the unit test expectation.
  • Updated the BuiltinModelAliases doc comment to reflect the new agent chain.
  • Regenerated workflow/test golden outputs and recompiled workflow lock files to reflect the updated agent model list.
Show a summary per file
File Description
pkg/workflow/data/model_aliases.json Removes gpt-5.5 from the agent alias list.
pkg/workflow/model_aliases.go Updates the documented agent alias chain (doc comment).
pkg/workflow/model_aliases_test.go Updates the agent alias assertion to match the new chain.
pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden Regenerated golden output reflecting the new agent model list.
pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden Regenerated golden output reflecting the new agent model list.
pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden Regenerated golden output reflecting the new agent model list.
pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden Regenerated golden output reflecting the new agent model list.
.github/workflows/workflow-health-manager.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/schema-consistency-checker.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/pr-triage-agent.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/poem-bot.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/gpclean.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/daily-regulatory.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/daily-observability-report.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/daily-max-ai-credits-test.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/daily-credit-limit-test.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/daily-compiler-quality.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/daily-cli-tools-tester.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/daily-cache-strategy-analyzer.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/copilot-centralization-optimizer.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/copilot-centralization-drilldown.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/code-simplifier.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/ci-coach.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/agentic-token-optimizer.lock.yml Recompiled lock file reflecting the new agent model list.
.github/workflows/agent-performance-analyzer.lock.yml Recompiled lock file reflecting the new agent model list.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 83/270 changed files
  • Comments generated: 1
  • Review effort level: Low

@@ -89,7 +89,7 @@ func loadBuiltinModelAliases() (map[string][]string, error) {
// - "mini" → haiku, gpt-5-mini, gpt-5-nano, gemini-flash-lite, copilot/raptor*mini*
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.3

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.

3 participants