claude-agent-sdk-python icon indicating copy to clipboard operation
claude-agent-sdk-python copied to clipboard

Support turning on thinking

Open viktorxhzj opened this issue 3 months ago • 3 comments

is there any way of turning on "thinking" mode as Claude Code does?

viktorxhzj avatar Oct 20 '25 12:10 viktorxhzj

Use this argument in ClaudeAgentOptions to turn on thinking env={"MAX_THINKING_TOKENS" : "1024"}

singnave-deshaw avatar Oct 29 '25 14:10 singnave-deshaw

Use this argument in ClaudeAgentOptions to turn on thinking env={"MAX_THINKING_TOKENS" : "1024"}

Great, that's helpful

slovx2 avatar Oct 30 '25 06:10 slovx2

Thanks for the tip. This seems have solved it. Would be great if Antrhopic spend some time to update their official documentation site for agent sdk to include this too.

cal88 avatar Nov 05 '25 07:11 cal88