struct

Crig::Providers::Gemini::Interactions::InteractionUsage

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(total_input_tokens : Int64 | Nil = nil, total_output_tokens : Int64 | Nil = nil, total_tokens : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

token_usage
Source
total_input_tokens
Source
total_output_tokens
Source
total_tokens
Source