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_streaming.py): handle predibase instability
Krrish Dholakiae1cbb397fed8
diff --git a/litellm/tests/test_streaming.py b/litellm/tests/test_streaming.pyindex 9aebc0f2477..ed88f818cc0 100644--- a/litellm/tests/test_streaming.py+++ b/litellm/tests/test_streaming.py@@ -571,6 +571,8 @@ async def test_completion_predibase_streaming(sync_mode):passexcept litellm.InternalServerError as e:pass+ except litellm.ServiceUnavailableError as e:+ passexcept Exception as e:print("ERROR class", e.__class__)print("ERROR message", e)