Class: ClaudeAgentSDK::ThinkingConfigAdaptive

Inherits:
Object
  • 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

Constructor Details

#initialize(display: nil) ⇒ ThinkingConfigAdaptive

Returns a new instance of ThinkingConfigAdaptive.



615
616
617
618
# File 'lib/claude_agent_sdk/types.rb', line 615

def initialize(display: nil)
  @type = 'adaptive'
  @display = validate_display(display)
end

Instance Attribute Details

#displayObject

Returns the value of attribute display.



613
614
615
# File 'lib/claude_agent_sdk/types.rb', line 613

def display
  @display
end

#typeObject

Returns the value of attribute type.



613
614
615
# File 'lib/claude_agent_sdk/types.rb', line 613

def type
  @type
end