mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix import path
This commit is contained in:
parent
ce58c53ff1
commit
101c350f98
7 changed files with 7 additions and 15 deletions
|
@ -372,15 +372,7 @@ from fastapi.security.api_key import APIKeyHeader
|
|||
from fastapi.staticfiles import StaticFiles
|
||||
|
||||
# import enterprise folder
|
||||
try:
|
||||
# when using litellm cli
|
||||
import litellm_proxy.enterprise as enterprise
|
||||
except Exception:
|
||||
# when using litellm docker image
|
||||
try:
|
||||
import enterprise # type: ignore
|
||||
except Exception:
|
||||
pass
|
||||
import enterprise
|
||||
|
||||
server_root_path = os.getenv("SERVER_ROOT_PATH", "")
|
||||
_license_check = LicenseCheck()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue