Skip to main content

Module tracking

Module tracking 

Source

Structs§

SessionTracker
Accumulates token usage across all turns of a single agent session.
TurnUsage
Token counts for a single LLM call (one iteration of the agent loop).

Functions§

format_number
Format an integer with thousands separators.