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