diff --git a/src/daemon/spawner.py b/src/daemon/spawner.py index d8cac23..19ccfe3 100644 --- a/src/daemon/spawner.py +++ b/src/daemon/spawner.py @@ -577,7 +577,7 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_ task_status = self._get_task_status(db_path, task_id) if task_id else None # 分类 - cls = self._classify_outcome(exit_code, meta, stderr_text, task_status) + cls = self._classify_outcome(exit_code, meta, stderr_text, task_status, stdout_text) outcome = cls["outcome"] # 更新 session 状态