Class: ClaudeAgentSDK::ThinkingConfigAdaptive

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

Overview

Adaptive thinking: uses a default budget of 32000 tokens

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Type

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

Constructor Details

#initialize(attributes = {}) ⇒ ThinkingConfigAdaptive

Returns a new instance of ThinkingConfigAdaptive.



426
427
428
429
# File 'lib/claude_agent_sdk/types.rb', line 426

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

#displayObject

Returns the value of attribute display.



424
425
426
# File 'lib/claude_agent_sdk/types.rb', line 424

def display
  @display
end

#typeObject (readonly)

Returns the value of attribute type.



424
425
426
# File 'lib/claude_agent_sdk/types.rb', line 424

def type
  @type
end