Class: LlmMock::Anthropic::TextBlock
- Inherits:
-
Struct
- Object
- Struct
- LlmMock::Anthropic::TextBlock
- Defined in:
- lib/llm_mock_anthropic.rb
Overview
Value objects shaped like what the SDK returns. App code reads ‘.content` on a message, the block fields on each block, and `.text` / `.accumulated_message` on a stream — these provide exactly that surface.
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
18 19 20 |
# File 'lib/llm_mock_anthropic.rb', line 18 def text @text end |
#type ⇒ Object
Returns the value of attribute type
18 19 20 |
# File 'lib/llm_mock_anthropic.rb', line 18 def type @type end |