Skip to content

fix(vertex_ai): support global location in vertex ai passthrough #11661

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

Merged
merged 2 commits into from
Jun 13, 2025

Conversation

alvarosevilla95
Copy link
Contributor

@alvarosevilla95 alvarosevilla95 commented Jun 12, 2025

Title

Support global location in vertex ai passthrough

Relevant issues

Fixes #11585

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
  • 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

Use correct base url when vertex location is global

Copy link

vercel bot commented Jun 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2025 1:37pm

@CLAassistant
Copy link

CLAassistant commented Jun 12, 2025

CLA assistant check
All committers have signed the CLA.

@alvarosevilla95
Copy link
Contributor Author

just want to add a bit of urgency to this. On 19/06 google will discontinue the previous version of gemini-2.5-pro, and the current version is only available on the global region, so without this we will not be able to use it at all.

Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ishaan-jaff ishaan-jaff merged commit 196a726 into BerriAI:main Jun 13, 2025
6 checks passed
X4tar pushed a commit to X4tar/litellm that referenced this pull request Jun 17, 2025
…riAI#11661)

* Support global location in vertex ai passthrough

* refactor
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.

[Bug]: Vertex AI pass-through not working with global location
3 participants