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.



52
53
54
55
# File 'lib/claude_agent_sdk/types.rb', line 52

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

Instance Attribute Details

#signatureObject

Returns the value of attribute signature.



50
51
52
# File 'lib/claude_agent_sdk/types.rb', line 50

def signature
  @signature
end

#thinkingObject

Returns the value of attribute thinking.



50
51
52
# File 'lib/claude_agent_sdk/types.rb', line 50

def thinking
  @thinking
end