From 83ce9c820c53127eb14080ddbdf7bba1bbbaf4ac Mon Sep 17 00:00:00 2001 From: ymq Date: Thu, 3 Sep 2026 17:31:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20list=5Ftasks=E5=9B=BE=E6=A0=87=E8=A1=A5?= =?UTF-8?q?qc=5Frejected/cancelled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_service/agent_loop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline_service/agent_loop.py b/pipeline_service/agent_loop.py index 374a3d4..28ebe26 100644 --- a/pipeline_service/agent_loop.py +++ b/pipeline_service/agent_loop.py @@ -2639,7 +2639,8 @@ async def _pm_list_tasks(sor, project_id, params): if not recs: return "暂无任务" icons = {"submitted": "⏳", "running": "🔄", "review": "👀", "qc_review": "🔍", - "approved": "✅", "completed": "✔️", "failed": "❌", "waiting": "⏸️"} + "approved": "✅", "completed": "✔️", "failed": "❌", "waiting": "⏸️", + "qc_rejected": "🚫", "cancelled": "🛑"} lines = ["| 状态 | 任务 | 角色 |", "|------|------|------|"] for r in recs: st = getattr(r, 'state', '')