struct

Crig::Providers::Mira::Usage

Inherits Crig::Completion::GetTokenUsage < JSON::Serializable < Struct < Value < Object

Constructors

new(prompt_tokens : Int32, total_tokens : Int32)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

prompt_tokens
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
token_usage
Source
total_tokens
Source