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(http_handler.py): fix typing error
Krrish Dholakia057c774c140b
diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.pyindex cafa530130f..34d70434d54 100644--- a/litellm/llms/custom_httpx/http_handler.py+++ b/litellm/llms/custom_httpx/http_handler.py@@ -6,7 +6,6 @@ from typing import TYPE_CHECKING, Any, Callable, List, Mapping, Optional, Unionimport httpxfrom httpx import USE_CLIENT_DEFAULT, AsyncHTTPTransport, HTTPTransport-from httpx._types import VerifyTypesimport litellmfrom litellm.litellm_core_utils.logging_utils import track_llm_api_timingdiff --git a/litellm/types/llms/custom_http.py b/litellm/types/llms/custom_http.pyindex 33b73928502..5eec187dd42 100644--- a/litellm/types/llms/custom_http.py+++ b/litellm/types/llms/custom_http.py@@ -1,6 +1,6 @@+import sslfrom enum import Enum--import litellm+from typing import Unionclass httpxSpecialProvider(str, Enum):@@ -19,3 +19,6 @@ class httpxSpecialProvider(str, Enum):SecretManager = "secret_manager"PassThroughEndpoint = "pass_through_endpoint"PromptFactory = "prompt_factory"+++VerifyTypes = Union[str, bool, ssl.SSLContext]