chore: upgrade - #2186
Conversation
|
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
You do not have enough credits to review this pull request. Please purchase more credits to continue. |
📝 WalkthroughSummary by CodeRabbit
WalkthroughModel configuration templates, provider catalogs, OpenClaw routes, and default selections now reference newer Claude, Gemini, Kimi, and Minimax model identifiers. ChangesModel identifier synchronization
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Mesa DescriptionTL;DRUpgraded LLM model and agent configurations across various configuration files and templates to reference newer model versions (including Claude 5/5.0, Gemini 3.6 Flash, Kimi K3, and Minimax M3). What changed?
Description generated by Mesa. Update settings |
d6eb717 to
e3bbadb
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@config/ccs/agy.settings.template.json`:
- Around line 5-8: Update the ANTHROPIC_DEFAULT_SONNET_MODEL and
ANTHROPIC_DEFAULT_HAIKU_MODEL values to their matching catalog tiers:
claude-sonnet-5 for Sonnet and claude-haiku-4-5-20251001 for Haiku; leave
ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_OPUS_MODEL unchanged.
🪄 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 Plus
Run ID: 724c5aa4-c759-4c57-991b-eaf8956d1416
📒 Files selected for processing (8)
config/ccs/agy.settings.template.jsonconfig/ccs/gemini.settings.template.jsonconfig/cliproxyapi/config.template.yamlconfig/hermes/config.template.yamlconfig/llm/extra-openai-models.yamlconfig/openclaw/openclaw.template.jsonconfig/opencode/opencode.jsoncconfig/pi/models.json
| "ANTHROPIC_MODEL": "claude-opus-5-0", | ||
| "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-0", | ||
| "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-0", | ||
| "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5" |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Align the Anthropic tier defaults with their names.
Line 7 assigns the Sonnet default to Opus, and Line 8 assigns the Haiku default to Sonnet. This causes Sonnet and Haiku requests to use the wrong model tiers; the catalog already provides claude-sonnet-5 and claude-haiku-4-5-20251001.
Proposed fix
- "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-0",
- "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5"
+ "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5",
+ "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001"📝 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.
| "ANTHROPIC_MODEL": "claude-opus-5-0", | |
| "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-0", | |
| "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-0", | |
| "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5" | |
| "ANTHROPIC_MODEL": "claude-opus-5-0", | |
| "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-0", | |
| "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5", | |
| "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001" |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@config/ccs/agy.settings.template.json` around lines 5 - 8, Update the
ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL values to their
matching catalog tiers: claude-sonnet-5 for Sonnet and claude-haiku-4-5-20251001
for Haiku; leave ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_OPUS_MODEL unchanged.
e3bbadb to
9ea5abd
Compare
Pull request was closed
Automated upgrade