fix import path

This commit is contained in:
Ishaan Jaff 2025-04-23 14:48:13 -07:00
parent ce58c53ff1
commit 101c350f98
7 changed files with 7 additions and 15 deletions

View file

@ -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()