ThinkingConfigEnabled
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| ClaudeCodeBaseModel clawd_code_sdk.models.base Base model for all Claude Code Pydantic models. |
⋔ Inheritance diagram¶
graph TD
2113663647["thinking.ThinkingConfigEnabled"]
2604142835["base.ClaudeCodeBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
2604142835 --> 2113663647
3879467795 --> 2604142835
2751680898 --> 3879467795
🛈 DocStrings¶
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.