Crig::ModelTurn
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(message_id : String | Nil = nil, choice : OneOrMany(Completion::AssistantContent) = OneOrMany(Completion::AssistantContent).one(Completion::AssistantContent.text("")), usage : Completion::Usage = Completion::Usage.new, executable_tool_names : Array(String) = [] of String, allowed_tool_names : Array(String) = [] of String)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
allowed_tool_names
Sourcechoice
Sourceexecutable_tool_names
Sourcemessage_id
Sourceusage
Source