Class: ClaudeAgentSDK::ThinkingBlock

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

Overview

Thinking content block

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(thinking:, signature:) ⇒ ThinkingBlock

Returns a new instance of ThinkingBlock.



19
20
21
22
# File 'lib/claude_agent_sdk/types.rb', line 19

def initialize(thinking:, signature:)
  @thinking = thinking
  @signature = signature
end

Instance Attribute Details

#signatureObject

Returns the value of attribute signature.



17
18
19
# File 'lib/claude_agent_sdk/types.rb', line 17

def signature
  @signature
end

#thinkingObject

Returns the value of attribute thinking.



17
18
19
# File 'lib/claude_agent_sdk/types.rb', line 17

def thinking
  @thinking
end