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
fix predibase timeout exceptions
Ishaan Jaff82e5ea059b62
diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.pyindex 02d494f9f8b..b123514dd20 100644--- a/litellm/llms/custom_httpx/http_handler.py+++ b/litellm/llms/custom_httpx/http_handler.py@@ -110,7 +110,7 @@ class AsyncHTTPHandler:)finally:await new_client.aclose()- except httpx.ConnectTimeout:+ except httpx.TimeoutException:if data is None:data = {}raise litellm.Timeout(@@ -220,7 +220,7 @@ class HTTPHandler:)response = self.client.send(req, stream=stream)return response- except httpx.ConnectTimeout:+ except httpx.TimeoutException:if data is None:data = {}raise litellm.Timeout(