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(test_amazing_vertex_completion.py): handle vertex api instability
Krrish Dholakia5e707091ee78
diff --git a/litellm/tests/test_amazing_vertex_completion.py b/litellm/tests/test_amazing_vertex_completion.pyindex fe7d1a8c853..e30a9ed362b 100644--- a/litellm/tests/test_amazing_vertex_completion.py+++ b/litellm/tests/test_amazing_vertex_completion.py@@ -501,6 +501,8 @@ async def test_async_vertexai_streaming_response():assert len(complete_response) > 0except litellm.RateLimitError as e:pass+ except litellm.APIConnectionError:+ passexcept litellm.Timeout as e:passexcept litellm.InternalServerError as e: