Claude Code
r/ClaudeCode
MAX_THINKING_TOKENS: the real fix for broken extended thinking in Claude Code
TLDR
Three stacked bugs make alwaysThinkingEnabled do nothing since v2.0.64. The working switch is the undocumented MAX_THINKING_TOKENS env var, which must be exported by a wrapper script because settings.json env does.