From f3afb2a1e323380510ce2be1e546a991a6716cd3 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Sat, 30 May 2026 10:01:39 +0800 Subject: [PATCH] auto-sync: 2026-05-30 10:01:39 --- src/daemon/spawner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/daemon/spawner.py b/src/daemon/spawner.py index 00db6ac..23c1c53 100644 --- a/src/daemon/spawner.py +++ b/src/daemon/spawner.py @@ -988,8 +988,7 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_ message=message, task_id=task_id, on_complete=on_complete, - use_main_session=(session_id is None), - reuse_session_id=session_id if session_id else None, + use_main_session=True, # #02: 续杯走 main session task_db_path=db_path, ) except AgentBusyError: