mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
(fix) importing enterprise features
This commit is contained in:
parent
07afefea34
commit
56fba95b4a
1 changed files with 4 additions and 2 deletions
|
@ -85,8 +85,10 @@ enterprise_path = abspath(join(project_path, "enterprise"))
|
||||||
sys.path.append(enterprise_path)
|
sys.path.append(enterprise_path)
|
||||||
|
|
||||||
verbose_logger.debug(f"sys.path: {sys.path}")
|
verbose_logger.debug(f"sys.path: {sys.path}")
|
||||||
|
try:
|
||||||
from enterprise.callbacks.generic_api_callback import GenericAPILogger
|
from enterprise.callbacks.generic_api_callback import GenericAPILogger
|
||||||
|
except Exception as e:
|
||||||
|
verbose_logger.debug(f"Exception import enterprise features {str(e)}")
|
||||||
|
|
||||||
from typing import cast, List, Dict, Union, Optional, Literal, Any
|
from typing import cast, List, Dict, Union, Optional, Literal, Any
|
||||||
from .caching import Cache
|
from .caching import Cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue