chore/ 删除无用文件

This commit is contained in:
Kevin
2026-03-19 14:36:14 +08:00
parent 2f60858c9c
commit c6e07ce5ca
135 changed files with 2111 additions and 4510 deletions

View File

@@ -1,4 +1,5 @@
"""Tasks feature 依赖:提供 get_tasks_service。"""
from fastapi import Depends
from app.features.tasks.service import TasksService

View File

@@ -1,6 +1,7 @@
"""
任务状态 API 路由
"""
from typing import Dict, List
from fastapi import APIRouter, Depends
@@ -20,6 +21,7 @@ router = APIRouter(
class TaskInfo(BaseModel):
"""任务信息"""
task_id: str
task_type: str = "memoir"
status: str
@@ -30,6 +32,7 @@ class TaskInfo(BaseModel):
class TasksStatusResponse(BaseModel):
"""任务状态汇总响应"""
total: int
pending: int
running: int

View File

@@ -1,6 +1,7 @@
"""
任务状态服务:对外提供任务状态查询与清理,委托给底层 task_tracker。
"""
from typing import Any
from app.core.task_tracker import task_tracker