mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(chore) debug sys path docker error
This commit is contained in:
parent
92612c0d4e
commit
07afefea34
1 changed files with 3 additions and 0 deletions
|
@ -80,8 +80,11 @@ from .exceptions import (
|
|||
# Import Enterprise features
|
||||
project_path = abspath(join(dirname(__file__), "..", ".."))
|
||||
# Add the "enterprise" directory to sys.path
|
||||
verbose_logger.debug(f"current project_path: {project_path}")
|
||||
enterprise_path = abspath(join(project_path, "enterprise"))
|
||||
sys.path.append(enterprise_path)
|
||||
|
||||
verbose_logger.debug(f"sys.path: {sys.path}")
|
||||
from enterprise.callbacks.generic_api_callback import GenericAPILogger
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue