Skip to content

fix(ai): Add deprecation tag to totalBillableCharacters #9090

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dlarocque
Copy link
Contributor

Add deprecation tag to totalBillableCharacters. This field is no longer populated when using models greater than gemini-1.5-*, since the newer models count tokens, not characters. Developers should use totalTokens instead.

@dlarocque dlarocque requested a review from hsubox76 June 10, 2025 18:52
@dlarocque dlarocque requested review from a team as code owners June 10, 2025 18:52
Copy link

changeset-bot bot commented Jun 10, 2025

🦋 Changeset detected

Latest commit: 8b56ac7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@firebase/ai Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dlarocque dlarocque requested a review from rachelsaunders June 10, 2025 18:52
Copy link
Contributor

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_vertexai_responses.sh should be updated to clone the latest version of the responses: v14.0

@google-oss-bot
Copy link
Contributor

@google-oss-bot
Copy link
Contributor

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.

2 participants