New Features
- Thinking configuration: Added
ThinkingConfigtypes (ThinkingConfigAdaptive,ThinkingConfigEnabled,ThinkingConfigDisabled) andthinkingfield toClaudeAgentOptionsfor fine-grained control over extended thinking behavior. The newthinkingfield takes precedence over the now-deprecatedmax_thinking_tokensfield (#565) - Effort option: Added
effortfield toClaudeAgentOptionssupporting"low","medium","high", and"max"values for controlling thinking depth (#565)
Internal/Other Changes
- Updated bundled Claude CLI to version 2.1.42
PyPI: https://pypi.org/project/claude-agent-sdk/0.1.36/
pip install claude-agent-sdk==0.1.36