Skip to main content

Module empty_usage

Module empty_usage 

Source
Expand description

Empty usage tracking - translated from emptyUsage.ts

Structs§

Usage
Token usage for an API call

Functions§

empty_usage
Create an empty usage struct (for errors, etc.)
input_only_usage
Create a usage struct with just input tokens