struct

Crig::Providers::Internal::OpenAICompatible::CompatibleChoice

Inherits Struct < Value < Object

Constructors

new(finish_reason : CompatibleFinishReason = CompatibleFinishReason::Other, text : String | Nil = nil, reasoning : String | Nil = nil, tool_calls : Array(CompatibleToolCallChunk) = [] of CompatibleToolCallChunk)
Source

Instance methods

finish_reason
Source
reasoning
Source
text
Source
tool_calls
Source