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
use timeouts for predibase - never use them in prod !
Ishaan Jaff54e1f18832b6
diff --git a/litellm/tests/test_streaming.py b/litellm/tests/test_streaming.pyindex f5b2f363b26..79114689d87 100644--- a/litellm/tests/test_streaming.py+++ b/litellm/tests/test_streaming.py@@ -1451,6 +1451,7 @@ async def test_parallel_streaming_requests(sync_mode, model):messages=messages,stream=True,max_tokens=10,+ timeout=10,)complete_response = ""# Add any assertions here to-check the response@@ -1468,6 +1469,7 @@ async def test_parallel_streaming_requests(sync_mode, model):messages=messages,stream=True,max_tokens=10,+ timeout=10,)complete_response = ""# Add any assertions here to-check the response@@ -1498,6 +1500,8 @@ async def test_parallel_streaming_requests(sync_mode, model):except RateLimitError:pass+ except litellm.Timeout:+ passexcept litellm.ServiceUnavailableError as e:if model == "predibase/llama-3-8b-instruct":pass