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,