You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage for gemini models in stream mode is calculated incorrectly.
Request_tokens seems to be multiplied by number of chunks. As a result total_tokens is also too high.
Initial Checks
Description
Usage for gemini models in stream mode is calculated incorrectly.
Request_tokens seems to be multiplied by number of chunks. As a result total_tokens is also too high.
Example Code
Python, Pydantic AI & LLM client version
The text was updated successfully, but these errors were encountered: