[Bug] Thinking mode toggle state not persisted between sessions
Bug Description
tab to toggle thinking mode is not sticky anomre, nor do we hav a setting to configure it for always, can you please add it or fix it? this was working as of 2 minor versions ago.
Environment Info
- Platform: darwin
- Terminal: WezTerm
- Version: 2.0.65
- Feedback ID: 40db92f7-aba6-4fda-bbcb-c502bc999631
Errors
[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:481:14)\n at Socket.emit (node:events:507:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Readable.push (node:internal/streams/readable:390:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-12-11T15:36:28.329Z"},{"error":"AxiosError: Request failed with status code 503\n at Kj (file:///Users/ia/.nvm/versions/node/v23.8.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:187:1137)\n at IncomingMessage.<anonymous> (file:///Users/ia/.nvm/versions/node/v23.8.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:188:9852)\n at IncomingMessage.emit (node:events:519:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1696:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at XKA.request (file:///Users/ia/.nvm/versions/node/v23.8.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:190:2130)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async k32 (file:///Users/ia/.nvm/versions/node/v23.8.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2426:2842)\n at async v32 (file:///Users/ia/.nvm/versions/node/v23.8.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2426:3905)\n at async Object.call (file:///Users/ia/.nvm/versions/node/v23.8.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2426:8915)\n at async A35 (file:///Users/ia/.nvm/versions/node/v23.8.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2963:24911)","timestamp":"2025-12-11T15:40:26.462Z"}]
Found the issue. Here's what's happening:
Bug: alwaysThinkingEnabled Ignored
https://github.com/anthropics/claude-code/issues/10623 reports that alwaysThinkingEnabled: true is being completely ignored - thinking blocks aren't appearing despite the setting being enabled.
Related Problems
- https://github.com/anthropics/claude-code/issues/11773 - Users getting 400 errors about thinking mode requirements
- https://github.com/anthropics/claude-code/issues/12311 - Auto-compact fails with Opus 4.5 extended thinking
Workarounds
- Manual Tab toggle - Press Tab at the start of each session to enable thinking mode manually (sticky per-session)
- Environment variable - Set MAX_THINKING_TOKENS in your shell config:
export MAX_THINKING_TOKENS=10000
- Use prompt keywords - Include "think" or "think hard" in your prompts to trigger thinking for specific requests
The alwaysThinkingEnabled setting appears to be broken in recent releases. The Tab toggle or environment variable are your best bets until they fix it.
Sources:
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗