From a5a5191654e84b644315016c093908259a32fb61 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Mon, 18 May 2026 12:05:25 +0800 Subject: [PATCH] auto-sync: 2026-05-18 12:05:25 --- src/api/blackboard_routes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/blackboard_routes.py b/src/api/blackboard_routes.py index bee9f27..6383f89 100644 --- a/src/api/blackboard_routes.py +++ b/src/api/blackboard_routes.py @@ -85,8 +85,7 @@ async def create_task(project_id: str, body: Dict[str, Any]): @router.get("/tasks/{task_id}/progress") async def task_progress(project_id: str, task_id: str): """Task Stage 进度(含子 Task 统计)""" - from src.blackboard.queries import Queries - queries = Queries(_db_path(project_id)) + queries = _q(project_id) progress = queries.parent_task_progress(task_id) if not progress: raise HTTPException(404, "Task not found")