From e6db07c15c32104cf1e9277b6ba88c7cffd0a3e8 Mon Sep 17 00:00:00 2001 From: DeepSeek-Web Adapter Date: Fri, 17 Apr 2026 18:04:32 +0800 Subject: [PATCH] fix: stop reply action infinite loop - reply should end processing, not continue --- src/adapter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/adapter.py b/src/adapter.py index 638b81f..4109630 100644 --- a/src/adapter.py +++ b/src/adapter.py @@ -198,9 +198,7 @@ class DeepSeekWebAdapter(BaseAdapter): logger.info(f"[任务完成] task={task_id}") return - result_msg = f"[执行结果]\n回复已发送给用户(状态: {reply_status})\n\n请继续下一步操作。" - await self.session.send_message(result_msg) - continue + return if action_type == "complete": explanation = action.get("explanation", "任务已完成")