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 predibase api failures
Krrish Dholakia83f638100e29
diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.pyindex f38c58b6640..d6d0d93ae30 100644--- a/litellm/tests/test_completion.py+++ b/litellm/tests/test_completion.py@@ -273,6 +273,8 @@ async def test_completion_predibase():print(response)except litellm.Timeout as e:pass+ except litellm.ServiceUnavailableError as e:+ passexcept Exception as e:pytest.fail(f"Error occurred: {e}")