The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix gemini test
Ishaan Jaff24474789d792
diff --git a/litellm/llms/vertex_ai_and_google_ai_studio/vertex_llm_base.py b/litellm/llms/vertex_ai_and_google_ai_studio/vertex_llm_base.pyindex 9a828d71027..55c7388d494 100644--- a/litellm/llms/vertex_ai_and_google_ai_studio/vertex_llm_base.py+++ b/litellm/llms/vertex_ai_and_google_ai_studio/vertex_llm_base.py@@ -166,7 +166,7 @@ class VertexBase(BaseLLM):def _get_token_and_url(self,model: str,- auth_header: str,+ auth_header: Optional[str],gemini_api_key: Optional[str],vertex_project: Optional[str],vertex_location: Optional[str],@@ -192,6 +192,7 @@ class VertexBase(BaseLLM):stream=stream,gemini_api_key=gemini_api_key,)+ auth_header = None # this field is not used for geminelse:vertex_location = self.get_vertex_region(vertex_region=vertex_location)