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 linting error
Ishaan Jaff72dd21dc472b
diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.pyindex ed5773be83c..e63bd3f5453 100644--- a/litellm/llms/custom_httpx/http_handler.py+++ b/litellm/llms/custom_httpx/http_handler.py@@ -1,7 +1,7 @@import asyncioimport osimport traceback-from typing import Any, Mapping, Optional, Union+from typing import TYPE_CHECKING, Any, Mapping, Optional, Unionimport httpx@@ -9,6 +9,11 @@ import litellmfrom .types import httpxSpecialProvider+if TYPE_CHECKING:+ from litellm import LlmProviders+else:+ LlmProviders = Any+try:from litellm._version import versionexcept:@@ -381,7 +386,7 @@ class HTTPHandler:def get_async_httpx_client(- llm_provider: Union[litellm.LlmProviders, httpxSpecialProvider],+ llm_provider: Union[LlmProviders, httpxSpecialProvider],params: Optional[dict] = None,) -> AsyncHTTPHandler:"""