Class: ClaudeAgentSDK::ThinkingConfigAdaptive
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::ThinkingConfigAdaptive
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Adaptive thinking: uses a default budget of 32000 tokens
Instance Attribute Summary collapse
-
#display ⇒ Object
Returns the value of attribute display.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(display: nil) ⇒ ThinkingConfigAdaptive
constructor
A new instance of ThinkingConfigAdaptive.
Constructor Details
#initialize(display: nil) ⇒ ThinkingConfigAdaptive
Returns a new instance of ThinkingConfigAdaptive.
615 616 617 618 |
# File 'lib/claude_agent_sdk/types.rb', line 615 def initialize(display: nil) @type = 'adaptive' @display = validate_display(display) end |
Instance Attribute Details
#display ⇒ Object
Returns the value of attribute display.
613 614 615 |
# File 'lib/claude_agent_sdk/types.rb', line 613 def display @display end |
#type ⇒ Object
Returns the value of attribute type.
613 614 615 |
# File 'lib/claude_agent_sdk/types.rb', line 613 def type @type end |