Skip to content
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

[Vertex AI] Fix CountTokensResponse decoding #14447

Merged
merged 2 commits into from
Feb 11, 2025
Merged

Conversation

andrewheard
Copy link
Contributor

Fixed a decoding issue in CountTokensResponse. This needs a custom decoder now to handle the case when promptTokensDetails is nil.

#no-changelog

@andrewheard andrewheard marked this pull request as ready for review February 11, 2025 22:22
@andrewheard andrewheard merged commit 9b16e48 into main Feb 11, 2025
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-count-decoding branch February 11, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants