bodhi-realtime-agent / LiveUsageMetadata
Type Alias: LiveUsageMetadata
LiveUsageMetadata =
UsageMetadata
Defined in: src/transport/gemini-live-transport.ts:375
Token accounting as reported by the Live server.
Aliases the SDK's own schema so every field the server sends stays reachable — a hand-written subset would silently hide cache and tool-use counts. promptTokenCount is the standing prompt size, the field to watch for context growth; totalTokenCount adds response tokens and so does not describe it.