mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix importing litellm
This commit is contained in:
parent
b5162438c6
commit
42df97db3c
1 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,15 @@
|
|||
import copy
|
||||
from fastapi import Request
|
||||
from typing import Any, Dict, Optional
|
||||
from typing import Any, Dict, Optional, TYPE_CHECKING
|
||||
from litellm.proxy._types import UserAPIKeyAuth
|
||||
from litellm._logging import verbose_proxy_logger, verbose_logger
|
||||
from litellm.proxy.proxy_server import ProxyConfig
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from litellm.proxy.proxy_server import ProxyConfig as _ProxyConfig
|
||||
|
||||
ProxyConfig = _ProxyConfig
|
||||
else:
|
||||
ProxyConfig = Any
|
||||
|
||||
|
||||
def parse_cache_control(cache_control):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue