Anthropic::FallbackMessageIterationUsage
Inherits JSON::Serializable < Struct < Value < Object
Per-hop usage entry found in usage.iterations when a fallback chain ran.
type: "message" marks a declined (refused) hop; type: "fallback_message"
marks the hop that ultimately served the response.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cache_creation
Sourcecache_creation_input_tokens
Sourcecache_read_input_tokens
Sourcedeclined?
Sourcefallback_message?
Sourceinput_tokens
Sourceoutput_tokens
Sourcetype
Source