fix: stop reply action infinite loop - reply should end processing, not continue

This commit is contained in:
DeepSeek-Web Adapter
2026-04-17 18:04:32 +08:00
parent bbb35e0082
commit e6db07c15c
+1 -3
View File
@@ -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", "任务已完成")