HomePeopleCompaniesAI ModelsOpen SourceAgentsResearchApps
AllFrameworksCoding agentsProtocolsProducts
AgentsCoding agentsAnthropic 14 Apr 2026 r/ClaudeCode

MAX_THINKING_TOKENS: the real fix for broken extended thinking in Claude Code

The brief

Three stacked bugs make alwaysThinkingEnabled do nothing since v2.0.64.

Key points

  1. The working switch is the undocumented MAX_THINKING_TOKENS env var, which must be exported by a wrapper script because settings.json env does.
Read the original

Sources