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.
616 617 618 619 |
# File 'lib/claude_agent_sdk/types.rb', line 616 def initialize(budget_tokens:) @type = 'enabled' @budget_tokens = budget_tokens end |
Instance Attribute Details
#budget_tokens ⇒ Object
Returns the value of attribute budget_tokens.
614 615 616 |
# File 'lib/claude_agent_sdk/types.rb', line 614 def budget_tokens @budget_tokens end |
#type ⇒ Object
Returns the value of attribute type.
614 615 616 |
# File 'lib/claude_agent_sdk/types.rb', line 614 def type @type end |