From 180facdb196cdd65e70546079c21d1411ea69180 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Sat, 30 May 2026 10:01:53 +0800 Subject: [PATCH] auto-sync: 2026-05-30 10:01:53 --- src/daemon/dispatcher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/daemon/dispatcher.py b/src/daemon/dispatcher.py index 7a131df..df2d702 100644 --- a/src/daemon/dispatcher.py +++ b/src/daemon/dispatcher.py @@ -512,10 +512,9 @@ class Dispatcher: session_id = await self.spawner.spawn_full_agent( agent_id=agent_id, message=message, - new_session=decision.get("new_session", False), task_id=task.id, on_complete=on_complete_legacy, - use_main_session=is_mail_legacy, + use_main_session=True, # #02: 统一投递到 main session task_db_path=Path(project_config["db_path"]) if project_config and "db_path" in project_config else None, ) return {"level": level.value, "agent_id": agent_id,