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: handle service unavailable error
Krrish Dholakia2adb2fc6a5cd
diff --git a/tests/llm_translation/base_llm_unit_tests.py b/tests/llm_translation/base_llm_unit_tests.pyindex 230781c6361..6a2cacd20ae 100644--- a/tests/llm_translation/base_llm_unit_tests.py+++ b/tests/llm_translation/base_llm_unit_tests.py@@ -947,6 +947,8 @@ class BaseLLMChatTest(ABC):second_response.choices[0].message.content is not Noneor second_response.choices[0].message.tool_calls is not None)+ except litellm.ServiceUnavailableError:+ pytest.skip("Model is overloaded")except litellm.InternalServerError:pytest.skip("Model is overloaded")except litellm.RateLimitError: