Skip to content

Conversation

@jitokim
Copy link

@jitokim jitokim commented Nov 5, 2025

fix metrics extraction so we don’t add None + None when a stream exits before usage metadata is fully populated

keep emitting partial metrics (input/output/cache) but skip total_tokens when the counts are absent

Description

Testing

Risks

Additional Notes

…action

fix metrics extraction so we don’t add None + None when a stream exits
before usage metadata is fully populated

keep emitting partial metrics (input/output/cache) but skip total_tokens
when the counts are absent

Signed-off-by: jitokim <[email protected]>
@jitokim jitokim requested a review from a team as a code owner November 5, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant