Class: Antigravity::Chunk

Inherits:
Message show all
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

Methods inherited from Base

inherited

Methods included from Emojifiable

#emoji, included

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