Skip to content

fix: add thinking tokens to usage stats for gemini models #3339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

MichaelDoyle
Copy link
Member

@MichaelDoyle MichaelDoyle commented Jul 29, 2025

Fixes #3335

  • Adds to genai plugin
  • Backports to gemini & vertex plugins.

Copy link
Contributor

@schnecle schnecle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet! Thanks!

@MichaelDoyle MichaelDoyle enabled auto-merge (squash) July 30, 2025 14:43
@MichaelDoyle MichaelDoyle changed the title fix: add reasoning tokens to usage stats for gemini models fix: add thinking tokens to usage stats for gemini models Jul 30, 2025
@MichaelDoyle MichaelDoyle merged commit d7080f4 into main Jul 30, 2025
5 checks passed
@MichaelDoyle MichaelDoyle deleted the reasoning-tokens branch July 30, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[JS] Add thought (reasoning) token "usage" counts to telemetry
3 participants