Skip to content

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Feb 11, 2025

Added integration tests for the new modality-specific token usage metrics added in #14406.

Note: Added a tolerance (accuracy) of 1 on the candidate and total token counts since they can differ between runs due to trailing whitespace tokens. This is not the case for prompt token counts which are deterministic since they are provided as input.

#no-changelog

@andrewheard andrewheard marked this pull request as ready for review February 11, 2025 23:27
@andrewheard andrewheard merged commit 2e1a8f7 into main Feb 18, 2025
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-modality-integration branch February 18, 2025 18:27
@firebase firebase locked and limited conversation to collaborators Mar 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants