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(vertex_ai): tolerate transient 500 in google maps grounding test (#28503)
yuneng-jiang3f953dfa9622
diff --git a/tests/local_testing/test_amazing_vertex_completion.py b/tests/local_testing/test_amazing_vertex_completion.pyindex f5d70aaaaac..2382b8a5197 100644--- a/tests/local_testing/test_amazing_vertex_completion.py+++ b/tests/local_testing/test_amazing_vertex_completion.py@@ -4223,7 +4223,9 @@ def test_gemini_google_maps_tool_simple():)print(f"Response: {response.model_dump_json(indent=4)}")assert response.choices[0].message.content is not None- except litellm.RateLimitError:+ except (litellm.RateLimitError, litellm.InternalServerError):+ # Transient Vertex-side failures (rate limiting, 500 INTERNAL from the+ # Google Maps grounding backend) are not LiteLLM bugs — don't fail CI.passexcept litellm.InternalServerError:pytest.skip(