struct

Crig::Providers::OpenAI::Chat::Streaming::Delta

Inherits JSON::Serializable < Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
new(content : String | Nil = nil, reasoning_content : String | Nil = nil, tool_calls : Array(ToolCall) = [] of ToolCall)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content
Source
reasoning_content
Source
tool_calls
Source