文件变更

This commit is contained in:
2026-04-20 14:05:57 +08:00
parent 3c906e91d9
commit 4e981e9dcf
28 changed files with 474 additions and 490 deletions

View File

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