Class: ClaudeAgentSDK::ThinkingConfigEnabled

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

Constructor Details

#initialize(budget_tokens:) ⇒ ThinkingConfigEnabled

Returns a new instance of ThinkingConfigEnabled.



595
596
597
598
# File 'lib/claude_agent_sdk/types.rb', line 595

def initialize(budget_tokens:)
  @type = 'enabled'
  @budget_tokens = budget_tokens
end

Instance Attribute Details

#budget_tokensObject

Returns the value of attribute budget_tokens.



593
594
595
# File 'lib/claude_agent_sdk/types.rb', line 593

def budget_tokens
  @budget_tokens
end

#typeObject

Returns the value of attribute type.



593
594
595
# File 'lib/claude_agent_sdk/types.rb', line 593

def type
  @type
end