Skip to content

fix(google_genai): preserve tool use tokens as metadata - #637

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi-fix-google-interaction-tool-token-metadata
Jul 31, 2026
Merged

fix(google_genai): preserve tool use tokens as metadata#637
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi-fix-google-interaction-tool-token-metadata

Conversation

@AbhiPrasad

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Jul 30, 2026

Copy link
Copy Markdown
Member
  • remove the nonstandard tool_use_tokens metric from Google Interactions spans
  • preserve the provider value as metadata.total_tool_use_tokens

Remove the nonstandard tool_use_tokens metric while retaining Google Interactions total_tool_use_tokens in provider metadata. Add VCR-backed regression coverage for the emitted span shape.
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 9724b70 into main Jul 31, 2026
82 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi-fix-google-interaction-tool-token-metadata branch July 31, 2026 14:50
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.

2 participants