Skip to content

fix: sync claude-opus-5 entry between models.json mirrors - #48303

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-with-copilot-again
Jul 27, 2026
Merged

fix: sync claude-opus-5 entry between models.json mirrors#48303
pelikhan merged 2 commits into
mainfrom
copilot/fix-with-copilot-again

Conversation

CopilotAI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

pkg/cli/data/models.json and actions/setup/js/models.json are required mirrors but diverged: actions/setup/js/models.json was missing the claude-opus-5 pricing entry added to the primary file.

Changes

  • actions/setup/js/models.json — added missing claude-opus-5 Anthropic model entry to match pkg/cli/data/models.json:
    "claude-opus-5": {
    "cost": {
    "input": "5e-06",
    "output": "2.5e-05",
    "cache_read": "5e-07",
    "cache_write": "6.25e-06"
    },
    "provider_type": "anthropic"
    }

make validate-models-json-sync now passes.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title [WIP] Fix issue with Copilot integrationfix: sync claude-opus-5 entry between models.json mirrorsJul 27, 2026
CopilotAI requested a review from pelikhanJuly 27, 2026 06:44
@pelikhan
pelikhan marked this pull request as ready for review July 27, 2026 06:45
CopilotAI review requested due to automatic review settings July 27, 2026 06:45
@pelikhan
pelikhan merged commit 716b622 into mainJul 27, 2026
@pelikhan
pelikhan deleted the copilot/fix-with-copilot-again branch July 27, 2026 06:45

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

Synchronizes the setup action’s model catalog with the canonical CLI catalog.

Changes:

  • Adds claude-opus-5 pricing for GitHub Copilot.
  • Aligns JSON key ordering with the canonical mirror.
Show a summary per file
FileDescription
actions/setup/js/models.jsonSynchronizes the bundled model catalog.

Review details

Tip

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

  • Files reviewed: 1/1 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