Skip to main content

UsageEvent

Defined in the events module.
AI Agent Token usage update. Attributes: input_tokens: Number of input tokens consumed. output_tokens: Number of output tokens generated. cache_creation_input_tokens: Tokens used for cache creation. cache_read_input_tokens: Tokens read from cache.

Properties

int
No description available.
int
No description available.
int
No description available.
int
No description available.

Source

View on GitHub

praisonaiagents/managed/events.py at line 186