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.
506 507 508 509 |
# File 'lib/claude_agent_sdk/types.rb', line 506 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.
504 505 506 |
# File 'lib/claude_agent_sdk/types.rb', line 504 def display @display end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
504 505 506 |
# File 'lib/claude_agent_sdk/types.rb', line 504 def type @type end |