部署端口改为16061,修复日志重复写入

This commit is contained in:
2026-08-09 22:44:48 +08:00
parent 12dc9a299f
commit 293c49ee0f
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ MAX_CONCURRENT_TASKS = 2 # 最大并发任务数
HISTORY_LIMIT = 16 # 喂给 LLM 的最近历史步数
HOST = '0.0.0.0'
PORT = int(os.environ.get('PORT', '16051'))
PORT = int(os.environ.get('PORT', '16061'))
for d in (DATA_DIR, TASKS_DIR, LOG_DIR):
os.makedirs(d, exist_ok=True)