θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

Conversation

@angelplusultra
Copy link
Contributor

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #4449

What is in this change?

This PR enhances the Gemini provider by enabling token metrics on response chunks, leading to accurate token measurement.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@angelplusultra angelplusultra linked an issue Oct 1, 2025 that may be closed by this pull request
Copy link
Member

@timothycarambat timothycarambat left a comment

Choose a reason for hiding this comment

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

Review comment.

@timothycarambat timothycarambat dismissed their stale review October 1, 2025 21:00

Changes implemented

@timothycarambat timothycarambat merged commit 0043272 into master Oct 1, 2025
1 check passed
@timothycarambat timothycarambat deleted the 4449-fix-tps-miscalculation branch October 1, 2025 21:00
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.

[BUG/CHORE]: Gemini models token metrics incorrect

3 participants