thinking
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| ThinkingConfigAdaptive clawd_code_sdk.models.thinking Adaptive thinking configuration - model decides thinking budget. |
||
| ThinkingConfigDisabled clawd_code_sdk.models.thinking Disabled thinking configuration. |
||
| ThinkingConfigEnabled clawd_code_sdk.models.thinking Enabled thinking configuration with explicit token budget. |
🛈 DocStrings¶
Thinking configuration models.
ThinkingConfigAdaptive
¶
Bases: ClaudeCodeBaseModel
Adaptive thinking configuration - model decides thinking budget.
Source code in src/clawd_code_sdk/models/thinking.py
display
class-attribute
instance-attribute
¶
Controls how thinking content appears in the response.
When set to summarized, thinking is returned normally. When set to omitted,
thinking content is redacted but a signature is returned for multi-turn
continuity. Defaults to summarized.
ThinkingConfigDisabled
¶
Bases: ClaudeCodeBaseModel
Disabled thinking configuration.
Source code in src/clawd_code_sdk/models/thinking.py
ThinkingConfigEnabled
¶
Bases: ClaudeCodeBaseModel
Enabled thinking configuration with explicit token budget.
Source code in src/clawd_code_sdk/models/thinking.py
budget_tokens
instance-attribute
¶
Determines how many tokens Claude can use for its internal reasoning process.
Larger budgets can enable more thorough analysis for complex problems, improving
response quality.
Must be ≥1024 and less than max_tokens.
See
extended thinking
for details.
display
class-attribute
instance-attribute
¶
Controls how thinking content appears in the response.
When set to summarized, thinking is returned normally. When set to omitted,
thinking content is redacted but a signature is returned for multi-turn
continuity. Defaults to summarized.