-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
live[Component] This issue is related to live, voice and video chat[Component] This issue is related to live, voice and video chat
Description
** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.
Is your feature request related to a problem? Please describe.
Token usage in live events for bidi streaming was added in 6e5c0eb. We would like to be able to track this data per model, e.g. gemini-live-2.5-flash, similar to how google ai platform metrics track model id as an attribute in the data. This would be helpful when we are using several different models and want to track the usage per model.
Describe the solution you'd like
This data being available in the GenerateContentResponseUsageMetadata object or somewhere else in the yielded Event.
Describe alternatives you've considered
None
Additional context
None
Metadata
Metadata
Assignees
Labels
live[Component] This issue is related to live, voice and video chat[Component] This issue is related to live, voice and video chat