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: fix test
Krrish Dholakia25820680ebd9
diff --git a/litellm/tests/test_amazing_vertex_completion.py b/litellm/tests/test_amazing_vertex_completion.pyindex e30a9ed362b..73824758fa8 100644--- a/litellm/tests/test_amazing_vertex_completion.py+++ b/litellm/tests/test_amazing_vertex_completion.py@@ -957,6 +957,8 @@ async def test_partner_models_httpx(model, sync_mode):assert isinstance(response._hidden_params["response_cost"], float)except litellm.RateLimitError as e:pass+ except litellm.InternalServerError as e:+ passexcept Exception as e:if "429 Quota exceeded" in str(e):pass@@ -1006,7 +1008,9 @@ async def test_partner_models_httpx_streaming(model, sync_mode):idx += 1print(f"response: {response}")- except litellm.RateLimitError:+ except litellm.RateLimitError as e:+ pass+ except litellm.InternalServerError as e:passexcept Exception as e:if "429 Quota exceeded" in str(e):