JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
feat: 重启报错
Haowei_Dud7f666c7e994
diff --git a/jiuwenclaw/app.py b/jiuwenclaw/app.pyindex e79247323f..2b5c797262 100644--- a/jiuwenclaw/app.py+++ b/jiuwenclaw/app.py@@ -1292,15 +1292,11 @@ async def _run() -> None:web_host, web_port, web_path,)+ # 主循环仅以 WebChannel 的生命周期为准:+ # Feishu/Xiaoyi/Dingtalk 等 Channel 的 start/stop 由 _apply_channel_config 动态管理,+ # 不再将其任务纳入这里的 gather,以避免在热更新(如关闭 Feishu)时取消任务导致整个 E2E 提前退出。try:- tasks = [web_task]- if feishu_task is not None:- tasks.append(feishu_task)- if xiaoyi_task is not None:- tasks.append(xiaoyi_task)- if dingtalk_task is not None:- tasks.append(dingtalk_task)- await asyncio.gather(*tasks)+ await web_taskexcept KeyboardInterrupt:logger.info("收到 Ctrl+C,正在退出…")except asyncio.CancelledError: