Class: 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
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ThinkingConfigAdaptive
constructor
A new instance of ThinkingConfigAdaptive.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ ThinkingConfigAdaptive
Returns a new instance of ThinkingConfigAdaptive.
426 427 428 429 |
# File 'lib/claude_agent_sdk/types.rb', line 426 def initialize(attributes = {}) super @type = 'adaptive' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#display ⇒ Object
Returns the value of attribute display.
424 425 426 |
# File 'lib/claude_agent_sdk/types.rb', line 424 def display @display end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
424 425 426 |
# File 'lib/claude_agent_sdk/types.rb', line 424 def type @type end |