fix: correct sys.path in agent-coordinator wrapper
The wrapper was inserting /opt/aitbc/aitbc to sys.path, which is incorrect. The aitbc package is at /opt/aitbc/aitbc/__init__.py, so the path should be /opt/aitbc, not /opt/aitbc/aitbc.
This commit is contained in:
@@ -9,7 +9,7 @@ import os
|
||||
from pathlib import Path
|
||||
|
||||
# Add aitbc to path
|
||||
sys.path.insert(0, str(Path("/opt/aitbc/aitbc")))
|
||||
sys.path.insert(0, str(Path("/opt/aitbc")))
|
||||
|
||||
from aitbc import ENV_FILE, NODE_ENV_FILE, REPO_DIR, DATA_DIR, LOG_DIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user