Repository navigation
fix(models): Claude Haiku 4.5 shows thinking on by default - #14445
incognitojam wants to merge 2 commits into
Conversation
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — The PR changes Claude Haiku 4.5’s advertised thinking default and modifies the settings passed to Claude CLI text-generation operations. Although the implementation is focused and tested, product-default changes require human review. You can add or adjust custom eligibility rules. Learn more. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughClaude text generation now reads the selected boolean ChangesClaude thinking selection
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The toggle displays On by default, and an explicit Off choice is preserved for Claude text generation. No actionable merge risk remains. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Claude Code thinks on Haiku 4.5 unless thinking is turned off, and an untouched turn sends no thinking setting, so it thinks. The picker showed Thinking Off because the manifest gave the toggle no default.
Text generation sent the thinking toggle's displayed value, so the manifest's On default became an explicit alwaysThinkingEnabled: true that overrode a user's own Claude Code setting. Send it only when the user chose it, as chat turns do.
c1a90f9 to
5188392
Compare
Problem
On Claude Haiku 4.5, the composer and the text generation setting show Thinking Off by default, but a chat turn or generated title sent without changing it thinks.
The manifest gives Haiku 4.5's thinking toggle no default, so the picker shows Off. When the user hasn't changed the toggle, no thinking setting is sent, and Claude Code thinks on Haiku 4.5 by default. The picker used to show thinking On unless the user turned it off (#179); it has shown Off since the option refactors in #1355 and #2246.
Fix
currentValue: true, so the picker shows Thinking On, which is what Claude Code does. Installed servers pick this up from the hosted manifest, and I bumpedupdatedAt.alwaysThinkingEnabled: truethat overrides a user's own Claude Code setting. With this, nothing changes at runtime unless the user picks a value.Verification
claude -p --model claude-haiku-4-5with no thinking setting returned a thinking block, the same as withalwaysThinkingEnabled: true, both with and without text generation's flags. WithalwaysThinkingEnabled: falseit returned no thinking block.main, the composer showed Thinking Off, and an untouched Haiku 4.5 turn recorded a thinking block in Claude's session log.ClaudeTextGenerationtests check that text generation sends the chosen thinking value, and sends none when nothing is chosen, even though the model's toggle defaults to On.UI Changes
Checklist
Written by an agent (Claude Code, claude-opus-5-5).