Class: ClaudeAgentSDK::ThinkingConfigEnabled
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::ThinkingConfigEnabled
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Enabled thinking: uses a user-specified budget
Instance Attribute Summary collapse
-
#budget_tokens ⇒ Object
Returns the value of attribute budget_tokens.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(budget_tokens:) ⇒ ThinkingConfigEnabled
constructor
A new instance of ThinkingConfigEnabled.
Constructor Details
#initialize(budget_tokens:) ⇒ ThinkingConfigEnabled
Returns a new instance of ThinkingConfigEnabled.
172 173 174 175 |
# File 'lib/claude_agent_sdk/types.rb', line 172 def initialize(budget_tokens:) @type = 'enabled' @budget_tokens = budget_tokens end |
Instance Attribute Details
#budget_tokens ⇒ Object
Returns the value of attribute budget_tokens.
170 171 172 |
# File 'lib/claude_agent_sdk/types.rb', line 170 def budget_tokens @budget_tokens end |
#type ⇒ Object
Returns the value of attribute type.
170 171 172 |
# File 'lib/claude_agent_sdk/types.rb', line 170 def type @type end |