struct

Crig::StreamedTurn

Inherits Struct < Value < Object

The assembled streamed turn, fed to AgentRun#streamed_turn.

Constructors

new(message_id : String | Nil = nil, choice : OneOrMany(Completion::AssistantContent) = OneOrMany(Completion::AssistantContent).one(Completion::AssistantContent.text("")), executable_tool_names : Set(String) = Set(String).new, allowed_tool_names : Set(String) = Set(String).new, internal_call_ids : Array(Tuple(String, String)) = [] of Tuple(String, String))
Source

Instance methods

allowed_tool_names
Source
choice
Source
executable_tool_names
Source
internal_call_ids
Source
message_id
Source