Skip to content

chore: bump claude-opus to 4-7 - #1482

Merged
shunkakinoki merged 1 commit into
mainfrom
chore/bump-opus-4-7
Apr 16, 2026
Merged

chore: bump claude-opus to 4-7#1482
shunkakinoki merged 1 commit into
mainfrom
chore/bump-opus-4-7

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Apr 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bump claude-opus from claude-opus-4-6 to claude-opus-4-7 in models.json
  • Regenerate downstream configs via scripts/llm-update.sh

Test plan

  • Verify Claude opus references resolve in aichat, opencode, openclaw, pi, ccs, llm configs

Summary by cubic

Bumps claude-opus from claude-opus-4-6 to claude-opus-4-7 across configs and templates to standardize on the latest Opus. Updates model IDs and display names in models.json, pi, opencode, openclaw, ccs, and llm configs.

  • Migration
    • Update any local overrides from claude-opus-4-6 to claude-opus-4-7 and restart affected services (opencode, openclaw, pi, ccs, llm).

Written for commit 79c2404. Summary will update on new commits.

@mesa-dot-dev

mesa-dot-dev Bot commented Apr 16, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@coderabbitai

coderabbitai Bot commented Apr 16, 2026

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated Claude Opus model version to 4.7 across all system configurations.

Walkthrough

Updates Claude Opus model references from version 4.6 to 4.7 across six configuration files, including environment settings, model registries, and agent/application configurations. No functional logic or control flow modifications.

Changes

Cohort / File(s) Summary
Environment Configuration
config/ccs/agy.settings.template.json
Updated three Anthropic model environment variables (ANTHROPIC_MODEL, ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL) from claude-opus-4-6 to claude-opus-4-7.
Model Registry & Mappings
config/llm/extra-openai-models.yaml, models.json
Updated Claude Opus model identifier and mapping entries from claude-opus-4-6 to claude-opus-4-7 in the OpenAI-compatible models and global model mapping registries.
Application & Provider Configurations
config/openclaw/openclaw.template.json, config/opencode/opencode.jsonc, config/pi/models.json
Updated Claude Opus model identifiers and display names from claude-opus-4-6 to claude-opus-4-7 across agent configurations (Code Reviewer, Twitter, Dev, Strategy, Mindset agents), provider model catalogs, and their fallback references.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 A version bump, from point six to seven,
Claude Opus climbs up closer to AI heaven,
Across each config file we hop and sing,
Four point seven—what improvements it will bring! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating the Claude Opus model version from 4-6 to 4-7 across multiple configuration files.
Description check ✅ Passed The description clearly relates to the changeset, outlining the bump from claude-opus-4-6 to claude-opus-4-7 and the regeneration of downstream configs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-opus-4-7

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the Claude Opus model version from 4.6 to 4.7 across multiple configuration files, including agent templates and model mappings. A review comment identifies a potential misconfiguration in config/ccs/agy.settings.template.json, where the ANTHROPIC_DEFAULT_SONNET_MODEL is being mapped to an Opus model version instead of a Sonnet model, which could lead to unintended behavior and increased API costs.

"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-6",
"ANTHROPIC_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-7",

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.

medium

The ANTHROPIC_DEFAULT_SONNET_MODEL is being updated to claude-opus-4-7. This indicates that the Sonnet model setting is incorrectly mapped to the Opus model version in the underlying template. This will result in higher API costs and potentially different model behavior than intended for Sonnet-level tasks. It should likely be set to claude-sonnet-4-6 to align with the Sonnet tier.

Suggested change
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@config/ccs/agy.settings.template.json`:
- Line 7: The ANTHROPIC_DEFAULT_SONNET_MODEL value is pointing to Opus
("claude-opus-4-7") which will misroute Sonnet traffic; update the
ANTHROPIC_DEFAULT_SONNET_MODEL setting to the correct Sonnet model identifier
(e.g., "claude-sonnet-2024-12" or your project's canonical Sonnet model name) so
Sonnet-default traffic is routed correctly, by editing the
ANTHROPIC_DEFAULT_SONNET_MODEL entry in the settings template.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 80aad1ae-44f1-4b4e-b234-3bfe86af93cb

📥 Commits

Reviewing files that changed from the base of the PR and between 48c77ff and 79c2404.

📒 Files selected for processing (6)
  • config/ccs/agy.settings.template.json
  • config/llm/extra-openai-models.yaml
  • config/openclaw/openclaw.template.json
  • config/opencode/opencode.jsonc
  • config/pi/models.json
  • models.json

"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-6",
"ANTHROPIC_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-7",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

ANTHROPIC_DEFAULT_SONNET_MODEL points to the wrong model.

On Line 7, ANTHROPIC_DEFAULT_SONNET_MODEL is set to claude-opus-4-7. This will route Sonnet-default traffic to Opus unexpectedly.

🔧 Proposed fix
-    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-7",
+    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@config/ccs/agy.settings.template.json` at line 7, The
ANTHROPIC_DEFAULT_SONNET_MODEL value is pointing to Opus ("claude-opus-4-7")
which will misroute Sonnet traffic; update the ANTHROPIC_DEFAULT_SONNET_MODEL
setting to the correct Sonnet model identifier (e.g., "claude-sonnet-2024-12" or
your project's canonical Sonnet model name) so Sonnet-default traffic is routed
correctly, by editing the ANTHROPIC_DEFAULT_SONNET_MODEL entry in the settings
template.

@shunkakinoki
shunkakinoki merged commit 081752c into main Apr 16, 2026
31 of 33 checks passed
@shunkakinoki
shunkakinoki deleted the chore/bump-opus-4-7 branch April 16, 2026 20:13
@mesa-dot-dev

mesa-dot-dev Bot commented Apr 16, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Bumped claude-opus to version 4-7.

What changed?

  • Updated claude-opus from claude-opus-4-6 to claude-opus-4-7 in models.json.
  • Regenerated downstream configurations using scripts/llm-update.sh.

Description generated by Mesa. Update settings

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.

1 participant