Class: Antigravity::Chunk
- Defined in:
- lib/antigravity/message.rb
Instance Attribute Summary
Attributes inherited from Message
#content, #model_id, #role, #thinking, #tokens, #tool_calls
Instance Method Summary collapse
-
#initialize(role: :assistant, content: "", thinking: "", tool_calls: [], model_id: nil) ⇒ Chunk
constructor
A new instance of Chunk.
Methods inherited from Base
Methods included from Emojifiable
Constructor Details
#initialize(role: :assistant, content: "", thinking: "", tool_calls: [], model_id: nil) ⇒ Chunk
Returns a new instance of Chunk.
19 20 21 |
# File 'lib/antigravity/message.rb', line 19 def initialize(role: :assistant, content: "", thinking: "", tool_calls: [], model_id: nil) super(role: role, content: content, thinking: thinking, tool_calls: tool_calls, model_id: model_id) end |