BerriAI / litellm

Call all LLM APIs using the OpenAI format. Use Bedrock, Azure, OpenAI, Cohere, Anthropic, Ollama, Sagemaker, HuggingFace, Replicate (100+ LLMs)
https://docs.litellm.ai/docs/
Other
10.16k stars 1.13k forks source link

fix: do not resolve vertex project id from creds #4445

Closed ushuz closed 3 days ago

ushuz commented 3 days ago

Title

fix: do not resolve vertex project id from creds

Type

🐛 Bug Fix

Changes

vertex_ai_project set in config should always prevail for vertex_ai_beta provider, just like how it's done in vertex_ai provider.

Reasons:

Steps:

Before: It fails to resolve a project ID, because personal ADC doesn't have one.

After: It works, just like vertex_ai provider.

vercel[bot] commented 3 days ago

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 27, 2024 10:35pm