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.



502
503
504
505
# File 'lib/claude_agent_sdk/types.rb', line 502

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.



500
501
502
# File 'lib/claude_agent_sdk/types.rb', line 500

def type
  @type
end