AttributeError: ‘ThinkingConfigEnabled’ object has no attribute ‘budget_tokens’ (2026)
When you use Anthropic’s extended thinking mode in the Claude SDK and try to access config.budget_tokens, Python raises AttributeError: ‘ThinkingConfigEnabled’ object has no attribute ‘budget_tokens’. The fix is simple once …