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",
|
"/opt/aitbc/venv/bin/python",
|
||||||
"-m",
|
"-m",
|
||||||
"uvicorn",
|
"uvicorn",
|
||||||
"src.app.main:app",
|
"app.main:app",
|
||||||
"--host",
|
"--host",
|
||||||
"0.0.0.0",
|
"0.0.0.0",
|
||||||
"--port",
|
"--port",
|
||||||
|
|||||||
Reference in New Issue
Block a user