修改端口信息
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 12m40s

This commit is contained in:
2026-04-16 00:31:33 +08:00
parent a92a220ff3
commit a5b8820d13
9 changed files with 114 additions and 96 deletions

View File

@@ -150,6 +150,6 @@ async def websocket_endpoint(
if __name__ == "__main__":
import uvicorn
# 使用环境变量或默认端口 8003避免与 vLLM 的 8001 端口冲突)
port = int(os.getenv("BACKEND_PORT", "8003"))
# 使用环境变量或默认端口 8083避免与 llama.cpp 的 8081 端口冲突)
port = int(os.getenv("BACKEND_PORT", "8083"))
uvicorn.run(app, host="0.0.0.0", port=port)