fix: correct uvicorn app path in agent-coordinator wrapper
The wrapper was using src.app.main:app which expects 'src' to be a top-level module, but with PYTHONPATH set to apps/agent-coordinator/src, the correct import target is app.main:app.
This commit is contained in:
@@ -30,7 +30,7 @@ exec_cmd = [
|
||||
"/opt/aitbc/venv/bin/python",
|
||||
"-m",
|
||||
"uvicorn",
|
||||
"src.app.main:app",
|
||||
"app.main:app",
|
||||
"--host",
|
||||
"0.0.0.0",
|
||||
"--port",
|
||||
|
||||
Reference in New Issue
Block a user