Skip to content

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]

fix _make_common_async_call

Ishaan Jaffc8f9e2afab29
diff --git a/litellm/llms/custom_httpx/aiohttp_handler.py b/litellm/llms/custom_httpx/aiohttp_handler.py
index f87355097df..d5793915184 100644
--- a/litellm/llms/custom_httpx/aiohttp_handler.py
+++ b/litellm/llms/custom_httpx/aiohttp_handler.py
@@ -49,12 +49,6 @@ class BaseLLMAIOHTTPHandler:
)
response: Optional[aiohttp.ClientResponse] = None
- timeout_obj = aiohttp.ClientTimeout(
- total=(
- float(timeout) if isinstance(timeout, (int, float)) else DEFAULT_TIMEOUT
- )
- )
-
if self.client_session is None:
self.client_session = aiohttp.ClientSession()