Skip to content

fix: remove thinking model variants and update model versions - #908

Merged
shunkakinoki merged 3 commits into
mainfrom
sonnet
Feb 24, 2026
Merged

fix: remove thinking model variants and update model versions#908
shunkakinoki merged 3 commits into
mainfrom
sonnet

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Feb 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove claude-opus-thinking and claude-sonnet-thinking entries from models.json
  • Update templates to use non-thinking model variants (__CLAUDE_OPUS__ instead of __CLAUDE_OPUS_THINKING__)
  • Remove redundant oauth-model-alias block from cliproxyapi config
  • Update haiku and sonnet model version strings in settings

Test plan

  • Ran bash scripts/llm-update.sh to regenerate all configs successfully

🤖 Generated with Claude Code


Summary by cubic

Remove the deprecated “thinking” model variants and switch all configs/templates to the non-thinking Claude models. Also update model version strings and drop an unused cliproxy alias to simplify configuration.

  • Refactors
    • Removed thinking models from models.json and OpenClaw templates.
    • Updated CCS/AGY templates and settings to use non-thinking models (claude-opus-4-6, CLAUDE_OPUS).
    • Cleaned up settings by updating model version strings and deleting the cliproxy oauth-model-alias block.

Written for commit 4b3615b. Summary will update on new commits.

Copilot AI review requested due to automatic review settings February 24, 2026 09:42
@mesa-dot-dev

mesa-dot-dev Bot commented Feb 24, 2026

Copy link
Copy Markdown

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

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @shunkakinoki, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request streamlines the model configuration by deprecating and removing specific 'thinking' model variants for Claude. It updates various settings and templates to reflect these changes, ensuring consistency across the system and simplifying model references. The overall impact is a cleaner and more up-to-date model management setup.

Highlights

  • Model Variant Removal: Removed 'claude-opus-thinking' and 'claude-sonnet-thinking' entries from models.json and their corresponding definitions in openclaw configurations.
  • Template Updates: Updated various configuration templates (agy.settings.template.json, agy.settings.tpl.json) to use non-thinking model variants (e.g., __CLAUDE_OPUS__ instead of __CLAUDE_OPUS_THINKING__).
  • Redundant Configuration Removal: Eliminated redundant oauth-model-alias blocks from cliproxyapi configurations, which previously aliased 'thinking' models.
  • Model Version Updates: Updated Haiku and Sonnet model version strings in config/claude/settings.json to a simplified format (e.g., claude-sonnet-4-6 from claude-sonnet-4-6-1m).
Changelog
  • config/ccs/agy.settings.template.json
    • Updated ANTHROPIC_MODEL, ANTHROPIC_DEFAULT_OPUS_MODEL, and ANTHROPIC_DEFAULT_SONNET_MODEL to use claude-opus-4-6 instead of claude-opus-4-6-thinking.
  • config/ccs/agy.settings.tpl.json
    • Updated ANTHROPIC_MODEL, ANTHROPIC_DEFAULT_OPUS_MODEL, and ANTHROPIC_DEFAULT_SONNET_MODEL placeholders to use __CLAUDE_OPUS__ instead of __CLAUDE_OPUS_THINKING__.
  • config/claude/settings.json
    • Updated ANTHROPIC_DEFAULT_HAIKU_MODEL and ANTHROPIC_DEFAULT_SONNET_MODEL from claude-sonnet-4-6-1m to claude-sonnet-4-6.
  • config/cliproxyapi/config.template.yaml
    • Removed the oauth-model-alias block that defined an alias for claude-opus-4-6-thinking.
  • config/cliproxyapi/config.tpl.yaml
    • Removed the oauth-model-alias block that defined an alias for __CLAUDE_OPUS_THINKING__.
  • config/openclaw/openclaw.template.json
    • Removed the full model definitions for claude-opus-4-6-thinking and claude-sonnet-4-6-thinking.
  • config/openclaw/openclaw.tpl.json
    • Removed the full model definitions for __CLAUDE_OPUS_THINKING__ and __CLAUDE_SONNET_THINKING__.
  • models.json
    • Removed the claude-opus-thinking and claude-sonnet-thinking entries from the global model list.
Activity
  • The author confirmed that running bash scripts/llm-update.sh successfully regenerated all configurations.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mesa-dot-dev

mesa-dot-dev Bot commented Feb 24, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Remove thinking model variants and update model versions for Claude models.

What changed?

  • Removed claude-opus-thinking and claude-sonnet-thinking entries from models.json
  • Updated templates to use non-thinking model variants (__CLAUDE_OPUS__ instead of __CLAUDE_OPUS_THINKING__)
  • Removed redundant oauth-model-alias block from cliproxyapi config
  • Updated haiku and sonnet model version strings in settings

Validation

  • Ran bash scripts/llm-update.sh to regenerate all configs successfully

Description generated by Mesa. Update settings

@shunkakinoki
shunkakinoki merged commit d273e0e into main Feb 24, 2026
27 checks passed
@shunkakinoki
shunkakinoki deleted the sonnet branch February 24, 2026 09:43
@coderabbitai

coderabbitai Bot commented Feb 24, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between d689176 and 4b3615b.

📒 Files selected for processing (8)
  • config/ccs/agy.settings.template.json
  • config/ccs/agy.settings.tpl.json
  • config/claude/settings.json
  • config/cliproxyapi/config.template.yaml
  • config/cliproxyapi/config.tpl.yaml
  • config/openclaw/openclaw.template.json
  • config/openclaw/openclaw.tpl.json
  • models.json

📝 Walkthrough

Summary by CodeRabbit

  • Updates
    • Updated default AI model assignments across the system to use standard optimized versions
    • Removed extended-thinking model variants from available model selections
    • Refreshed model compatibility configurations and routing settings to support the updated model set
    • Adjusted default configurations for improved system consistency and performance

Walkthrough

Configuration files updated to remove Claude thinking model variants and their aliases across multiple settings files. Model references changed from thinking versions to standard versions (e.g., claude-opus-4-6-thinking to claude-opus-4-6), and thinking model entries removed from model registries and proxy configurations.

Changes

Cohort / File(s) Summary
CCS Settings Configuration
config/ccs/agy.settings.template.json, config/ccs/agy.settings.tpl.json
Updated ANTHROPIC_MODEL, ANTHROPIC_DEFAULT_OPUS_MODEL, and ANTHROPIC_DEFAULT_SONNET_MODEL from thinking variants to standard Claude Opus 4.6 and Sonnet versions.
Claude Settings Configuration
config/claude/settings.json
Updated ANTHROPIC_DEFAULT_HAIKU_MODEL and ANTHROPIC_DEFAULT_SONNET_MODEL from claude-sonnet-4-6-1m to claude-sonnet-4-6.
Cliproxy API Configuration
config/cliproxyapi/config.template.yaml, config/cliproxyapi/config.tpl.yaml
Removed oauth-model-alias configuration block that mapped Claude Opus Thinking model to Claude Opus with fork behavior.
Openclaw Model Registry
config/openclaw/openclaw.template.json, config/openclaw/openclaw.tpl.json
Removed two thinking model entries (claude-opus-4-6-thinking and claude-sonnet-4-6-thinking) from cliproxy models list, including reasoning and cost configurations.
Models Mapping
models.json
Removed public aliases for claude-opus-thinking and claude-sonnet-thinking model mappings.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 Thinking models bid farewell,
Standard Claude now rings the bell,
From opus-thinking to opus-true,
Configs refreshed, aliases too!
Hop along, the models are sleek. 🚀

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch sonnet

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 effectively addresses the removal of 'thinking' model variants and updates model versions across various configuration files. The changes are consistent with the summary provided, including the removal of claude-opus-thinking and claude-sonnet-thinking entries, updating templates to use non-thinking model variants, removing the redundant oauth-model-alias block, and updating Haiku and Sonnet model version strings. The changes are well-contained and directly implement the stated objectives, contributing to cleaner and more up-to-date configurations. The test plan indicates that the llm-update.sh script was run successfully, which is a good practice for validating such configuration changes.

Copilot AI 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

This PR removes support for Claude thinking model variants from the configuration system and updates model version strings. The changes ensure that all configurations use standard Claude model variants instead of the deprecated -thinking variants.

Changes:

  • Removed claude-opus-thinking and claude-sonnet-thinking entries from the central models.json configuration
  • Updated template files to use standard model placeholders (e.g., __CLAUDE_OPUS__ instead of __CLAUDE_OPUS_THINKING__)
  • Updated model version strings in Claude settings from claude-sonnet-4-6-1m to claude-sonnet-4-6

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
models.json Removed thinking model variant entries for opus and sonnet
config/openclaw/openclaw.tpl.json Removed thinking model configurations with reasoning flag set to true
config/openclaw/openclaw.template.json Removed generated thinking model entries (claude-opus-4-6-thinking, claude-sonnet-4-6-thinking)
config/cliproxyapi/config.tpl.yaml Removed oauth-model-alias block that was mapping thinking variants to standard variants
config/cliproxyapi/config.template.yaml Removed generated oauth-model-alias configuration block
config/claude/settings.json Updated HAIKU_MODEL and SONNET_MODEL version strings from claude-sonnet-4-6-1m to claude-sonnet-4-6
config/ccs/agy.settings.tpl.json Updated template placeholders from CLAUDE_OPUS_THINKING to CLAUDE_OPUS
config/ccs/agy.settings.template.json Updated generated model references from claude-opus-4-6-thinking to claude-opus-4-6

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

@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

@coderabbitai coderabbitai Bot mentioned this pull request Apr 16, 2026
1 task
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.

2 participants