Skip to content

fix: add claude-opus-5 to embedded model pricing catalogs - #48279

Merged
pelikhan merged 1 commit into
mainfrom
copilot/fix-scout
Jul 27, 2026
Merged

fix: add claude-opus-5 to embedded model pricing catalogs#48279
pelikhan merged 1 commit into
mainfrom
copilot/fix-scout

Conversation

CopilotAI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

claude-opus-5 was missing from both embedded models.json pricing catalogs, causing the api-proxy to reject all requests with HTTP 400 — no pricing entry and no defaultAiCreditsPricing fallback configured on the scout workflow.

Changes

  • pkg/cli/data/models.json — add claude-opus-5 entry under anthropic provider
  • actions/setup/js/models.json — same entry for the runtime-side catalog

Pricing matches claude-opus-4-8 (the latest opus-4 tier):

"claude-opus-5": {
"cost": {
"input": "5e-06",
"output": "2.5e-05",
"cache_read": "5e-07",
"cache_write": "6.25e-06"
},
"provider_type": "anthropic"
}

Reference run: https://github.com/github/gh-aw/actions/runs/30237418674/job/89887918371

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title fix: add claude-opus-5 pricing to models.json catalogsfix: add claude-opus-5 to embedded model pricing catalogsJul 27, 2026
CopilotAI requested a review from pelikhanJuly 27, 2026 05:03
@pelikhan
pelikhan marked this pull request as ready for review July 27, 2026 05:07
CopilotAI review requested due to automatic review settings July 27, 2026 05:07
@pelikhan
pelikhan merged commit b8fd7e2 into mainJul 27, 2026
@pelikhan
pelikhan deleted the copilot/fix-scout branch July 27, 2026 05:08

CopilotAI 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

Adds Claude Opus 5 pricing to both embedded catalogs, preventing API proxy rejection.

Changes:

  • Registers claude-opus-5 with Anthropic pricing.
  • Keeps CLI and runtime catalogs synchronized.
Show a summary per file
FileDescription
pkg/cli/data/models.jsonAdds CLI-side pricing.
actions/setup/js/models.jsonAdds runtime-side pricing.

Review details

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Medium

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.4

Sign up for freeto 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

@pelikhan