Skip to content

vertex ai: use the correct domain for the global location when counting tokens - #17116

Merged
1 commit merged into
BerriAI:mainfrom
CAFxX:cafxx-fix-tokencount-vertex-global
Nov 26, 2025
Merged

vertex ai: use the correct domain for the global location when counting tokens#17116
1 commit merged into
BerriAI:mainfrom
CAFxX:cafxx-fix-tokencount-vertex-global

Conversation

@CAFxX

@CAFxX CAFxX commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

Title

vertex ai: use the correct domain for the global location when counting tokens

currently it is using the domain https://global-aiplatform.googleapis.com that is incorrect, the correct one is https://aiplatform.googleapis.com

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix

Changes

@vercel

vercel Bot commented Nov 26, 2025

Copy link
Copy Markdown

@CAFxX is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@CAFxX
CAFxX force-pushed the cafxx-fix-tokencount-vertex-global branch from d9be13e to c2d7460 Compare November 26, 2025 03:17
@ghost
ghost merged commit b50fcc4 into BerriAI:main Nov 26, 2025
2 of 6 checks passed
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
This pull request was closed.
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.

1 participant