Class: ClaudeAgentSDK::ThinkingConfigDisabled

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

Overview

Disabled thinking: sets thinking tokens to 0

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Type

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

Constructor Details

#initialize(attributes = {}) ⇒ ThinkingConfigDisabled

Returns a new instance of ThinkingConfigDisabled.



475
476
477
478
# File 'lib/claude_agent_sdk/types.rb', line 475

def initialize(attributes = {})
  super
  @type = 'disabled'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



473
474
475
# File 'lib/claude_agent_sdk/types.rb', line 473

def type
  @type
end