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.
460 461 462 463 |
# File 'lib/claude_agent_sdk/types.rb', line 460 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.
458 459 460 |
# File 'lib/claude_agent_sdk/types.rb', line 458 def display @display end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
458 459 460 |
# File 'lib/claude_agent_sdk/types.rb', line 458 def type @type end |