Class: ClaudeAgentSDK::ThinkingConfigEnabled

Inherits:
Type
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Enabled thinking: uses a user-specified budget

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Type

#[], #[]=, from_hash, #to_h, wrap

Constructor Details

#initialize(attributes = {}) ⇒ ThinkingConfigEnabled

Returns a new instance of ThinkingConfigEnabled.



531
532
533
534
# File 'lib/claude_agent_sdk/types.rb', line 531

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_tokensObject

Returns the value of attribute budget_tokens.



528
529
530
# File 'lib/claude_agent_sdk/types.rb', line 528

def budget_tokens
  @budget_tokens
end

#displayObject

Returns the value of attribute display.



529
530
531
# File 'lib/claude_agent_sdk/types.rb', line 529

def display
  @display
end

#typeObject (readonly)

Returns the value of attribute type.



529
530
531
# File 'lib/claude_agent_sdk/types.rb', line 529

def type
  @type
end