firebase-js-sdk icon indicating copy to clipboard operation
firebase-js-sdk copied to clipboard

fix(ai): Add deprecation tag to `totalBillableCharacters`

Open dlarocque opened this issue 6 months ago • 4 comments

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 avatar Jun 10 '25 18:06 dlarocque

🦋 Changeset detected

Latest commit: 8b56ac717411267419df28945a7dca32c926f5d6

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

changeset-bot[bot] avatar Jun 10 '25 18:06 changeset-bot[bot]

Vertex AI Mock Responses Check :warning:

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

github-actions[bot] avatar Jun 10 '25 18:06 github-actions[bot]

Size Report 1

Affected Products

No changes between base commit (2306920) and merge commit (b3030a1).

Test Logs

google-oss-bot avatar Jun 10 '25 19:06 google-oss-bot

Size Analysis Report 1

Affected Products

No changes between base commit (2306920) and merge commit (b3030a1).

Test Logs

google-oss-bot avatar Jun 10 '25 19:06 google-oss-bot