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
test: update test
Krrish Dholakia174a1aa00705
diff --git a/tests/local_testing/test_amazing_vertex_completion.py b/tests/local_testing/test_amazing_vertex_completion.pyindex 54982fe6d8f..f3c8e32dc14 100644--- a/tests/local_testing/test_amazing_vertex_completion.py+++ b/tests/local_testing/test_amazing_vertex_completion.py@@ -455,6 +455,7 @@ async def test_async_vertexai_response():or "gemini-2.0-flash-thinking-exp" in modelor "gemini-2.0-pro-exp-02-05" in modelor "gemini-pro" in model+ or "gemini-1.0-pro" in model):# our account does not have access to this modelcontinue@@ -465,6 +466,8 @@ async def test_async_vertexai_response():model=model, messages=messages, temperature=0.7, timeout=5)print(f"response: {response}")+ except litellm.NotFoundError as e:+ passexcept litellm.RateLimitError as e:passexcept litellm.Timeout as e:@@ -503,6 +506,7 @@ async def test_async_vertexai_streaming_response():or "gemini-2.0-flash-thinking-exp" in modelor "gemini-2.0-pro-exp-02-05" in modelor "gemini-pro" in model+ or "gemini-1.0-pro" in model):# our account does not have access to this modelcontinue@@ -524,6 +528,8 @@ async def test_async_vertexai_streaming_response():complete_response += chunk.choices[0].delta.contentprint(f"complete_response: {complete_response}")assert len(complete_response) > 0+ except litellm.NotFoundError as e:+ passexcept litellm.RateLimitError as e:passexcept litellm.APIConnectionError: