struct

Crig::Providers::Internal::OpenAICompatible::StreamItem

Inherits Struct < Value < Object

Intermediate items produced by the SSE stream processor. Callers convert these to their specific RawStreamingChoice(T) variant.

Constructors

new(message_id : String | Nil = nil, text : String | Nil = nil, reasoning : String | Nil = nil, tool_call_delta_id : String | Nil = nil, tool_call_delta_internal_id : String | Nil = nil, tool_call_delta_content : Crig::ToolCallDeltaContent | Nil = nil, tool_call : Crig::RawStreamingToolCall | Nil = nil)
Source

Instance methods

message_id
Source
reasoning
Source
text
Source
tool_call
Source
tool_call_delta_content
Source
tool_call_delta_id
Source
tool_call_delta_internal_id
Source