struct OpenRouter::NonStreamingChoice

Defined in:

openrouter/types/response.cr

Constructors

Instance Method Summary

Instance methods inherited from struct OpenRouter::Choice

finish_reason : String | Nil finish_reason, initialize initialize

Constructor methods inherited from struct OpenRouter::Choice

new new

Constructor Detail

def self.new(json : JSON::Any) #

[View source]

Instance Method Detail

def message : Message #

[View source]