Skip to content

chore: upgrade - #2186

Closed
shunkakinoki wants to merge 1 commit into
mainfrom
chore/upgrade
Closed

chore: upgrade#2186
shunkakinoki wants to merge 1 commit into
mainfrom
chore/upgrade

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Automated upgrade

@shunkakinoki
shunkakinoki enabled auto-merge (squash) July 30, 2026 17:28
@indent-zero

indent-zero Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
PR Summary

Routine model-version bump: regenerates 8 generated tool configs from their .tpl.* sources against the current models.json, so downstream tools (cliproxyapi, opencode, openclaw, hermes, pi, ccs, llm) point at the newest model IDs. Verified consistency by re-running bash scripts/llm-update.sh on the head branch — the working tree stayed clean, so the diff matches template output byte-for-byte. Force-push (e3bbadb) additionally wraps the shared GPG pinentry default with lib.mkDefault so host-specific overrides win without needing lib.mkForce.

  • claude-opus-4-7claude-opus-5-0 in agy ccs, openclaw, opencode, llm.
  • claude-sonnet-4-6claude-sonnet-5 in agy ccs, openclaw, opencode, llm.
  • gemini-3.1-flash-previewgemini-3.6-flash in gemini ccs, openclaw, opencode, pi.
  • minimax-m2.7minimax-m3 in cliproxyapi, hermes, openclaw, opencode, pi (including openclaw fallback chains).
  • kimi-2.6kimi-k3 in cliproxyapi and opencode.
  • Display names bumped in lockstep (e.g. "Claude Opus 4.7" → "Claude Opus 5.0", "Kimi 2.6" → "Kimi K3").
  • home-manager/programs/gpg/default.nix: wrap pkgs.pinentry-curses in lib.mkDefault so kyber (pinentry-tty) and matic (pinentry-gnome3) override it cleanly.

Issues

2 potential issues found:

  • Asymmetric Claude ID suffixes in models.json: opus is bumped to claude-opus-5-0 (with -0) but sonnet to claude-sonnet-5 (no suffix). If cliproxy/Anthropic actually expects claude-sonnet-5-0, every sonnet-backed agent generated by this PR (openclaw Routine/Communication, opencode display, agy sonnet slot, extra-openai-models claude-sonnet) will fail to resolve. Confirm the upstream slug — trigger is the first request routed to a sonnet model. → Autofix
  • Stale model IDs in config/claude/settings.json: ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, and ANTHROPIC_DEFAULT_HAIKU_MODEL still reference claude-opus-4-6 / claude-sonnet-4-6, drifting further from the new IDs introduced here. This file isn't in scripts/llm-update.sh's TEMPLATES map, so it must be updated by hand — confirm whether it should be bumped alongside this chore. → Autofix

CI Checks

Waiting for CI checks...


⚡ Autofix All Issues

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@mesa-dot-dev

mesa-dot-dev Bot commented Jul 30, 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 Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Configuration Updates
    • Updated available AI models across supported integrations to newer Claude, Gemini, Kimi, and Minimax versions.
    • Refreshed default model selections and agent routing to use the latest configured models.
    • Updated model catalogs and aliases across CLI and application interfaces.
    • Removed outdated model identifiers from configuration templates.

Walkthrough

Model configuration templates, provider catalogs, OpenClaw routes, and default selections now reference newer Claude, Gemini, Kimi, and Minimax model identifiers.

Changes

Model identifier synchronization

Layer / File(s) Summary
Model catalogs and provider mappings
config/llm/extra-openai-models.yaml, config/cliproxyapi/config.template.yaml, config/openclaw/openclaw.template.json, config/opencode/opencode.jsonc, config/pi/models.json
Provider catalogs and OpenAI-compatible mappings replace older model identifiers and display names.
OpenClaw agent routing
config/openclaw/openclaw.template.json
Default, primary, and fallback model references are updated across the configured agents.
Defaults and environment templates
config/ccs/*.json, config/hermes/config.template.yaml
CCS environment values and the Hermes default model reference use the updated identifiers.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Poem

A bunny hops through model lists,
Replacing names with newer twists.
Claude, Gemini, Minimax too,
Kimi gets a fresh ID hue.
Config paths now point anew—
“Carrot-powered routing!” says the hare.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is too vague and does not convey the specific upgrade performed in this PR. Use a concise title that names the main change, such as the model/provider upgrade or updated configuration templates.
Description check ❓ Inconclusive The description is related to the change, but it is too generic to convey meaningful details. Add a short description of what was upgraded, such as the updated model identifiers and config templates.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/upgrade

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.

@mesa-dot-dev

mesa-dot-dev Bot commented Jul 30, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Upgraded 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?

  • config/ccs/agy.settings.template.json: Updated Anthropic model environment variables to claude-opus-5-0 and claude-sonnet-5
  • config/ccs/gemini.settings.template.json: Upgraded ANTHROPIC_DEFAULT_HAIKU_MODEL from gemini-3.1-flash-preview to gemini-3.6-flash
  • config/cliproxyapi/config.template.yaml: Replaced kimi-2.6 with kimi-k3 and minimax-m2.7 with minimax-m3
  • config/hermes/config.template.yaml: Updated default model from cliproxy/minimax-m2.7 to cliproxy/minimax-m3
  • config/llm/extra-openai-models.yaml: Updated custom OpenAI-compatible models to claude-sonnet-5 and claude-opus-5-0
  • config/openclaw/openclaw.template.json: Upgraded agent and LLM definitions (Claude Opus 4.7 -> 5.0, Claude Sonnet 4.6 -> 5, Gemini 3.1 Flash -> 3.6 Flash, Minimax m2.7 -> m3)
  • config/opencode/opencode.jsonc: Upgraded model configurations for CLIProxy sources to Claude Opus 5.0, Claude Sonnet 5, Gemini Flash 3.6, Kimi K3, and Minimax M3
  • config/pi/models.json: Upgraded Gemini to gemini-3.6-flash and Minimax to minimax-m3

Description generated by Mesa. Update settings

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 8 files

Re-trigger cubic

@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 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

📥 Commits

Reviewing files that changed from the base of the PR and between aad6d9d and e3bbadb.

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

Comment on lines +5 to +8
"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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 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.

Suggested change
"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.

auto-merge was automatically disabled July 30, 2026 23:05

Pull request was closed

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