class

Smith::LLM::Response

Inherits Reference < Object

Constructors

new(id : String, model : String, content : Array(ContentBlock), stop_reason : String | Nil = nil, usage : Usage | Nil = nil)
Source

Instance methods

content
Source
model
Source
stop

Derived rather than mapped per adapter: every provider path already carries its raw value here, so one normalisation covers all five — including both streaming readers.

Source
stop_reason
Source
usage
Source