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:
aitbc
2026-04-25 08:21:19 +02:00
parent 7b7405a388
commit 69d11c3d9a

View File

@@ -9,7 +9,7 @@ import os
from pathlib import Path from pathlib import Path
# Add aitbc to 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 from aitbc import ENV_FILE, NODE_ENV_FILE, REPO_DIR, DATA_DIR, LOG_DIR