struct

Crig::Providers::Anthropic::MessageStart

Inherits Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
new(id : String, role : String, content : Array(Content), model : String, usage : Usage, stop_reason : String | Nil = nil, stop_sequence : String | Nil = nil)
Source

Instance methods

content
Source
model
Source
role
Source
stop_reason
Source
stop_sequence
Source
usage
Source