mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
fix(http_handler.py): fix typing error
This commit is contained in:
parent
8e27b2026a
commit
057c774c14
2 changed files with 5 additions and 3 deletions
|
|
@ -6,7 +6,6 @@ from typing import TYPE_CHECKING, Any, Callable, List, Mapping, Optional, Union
|
|||
|
||||
import httpx
|
||||
from httpx import USE_CLIENT_DEFAULT, AsyncHTTPTransport, HTTPTransport
|
||||
from httpx._types import VerifyTypes
|
||||
|
||||
import litellm
|
||||
from litellm.litellm_core_utils.logging_utils import track_llm_api_timing
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import ssl
|
||||
from enum import Enum
|
||||
|
||||
import litellm
|
||||
from typing import Union
|
||||
|
||||
|
||||
class 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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue