Skip to content

Conversation

@Radu-Raicea
Copy link
Member

Gemini wasn't sending reasoning and cached read tokens to the backend.

This:

  • starts sending those tokens
  • refactors the usage data extraction to live in the converter files and have proper typing

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

14 files reviewed, 1 comment

Edit Code Review Bot Settings | Greptile

@Radu-Raicea Radu-Raicea requested a review from a team September 4, 2025 17:47
Copy link
Contributor

@carlos-marchal-ph carlos-marchal-ph left a comment

Choose a reason for hiding this comment

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

Looks good to me! Definitely nice to move towards cleaner, testable interfaces instead of just passing dicts or lists around.

@Radu-Raicea Radu-Raicea merged commit b3e21c1 into master Sep 4, 2025
11 checks passed
@Radu-Raicea Radu-Raicea deleted the fix/gemini-missing-cached-and-reasoning-tokens branch September 4, 2025 18:21
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.

3 participants