feat: 增强任务进度透明化
This commit is contained in:
@@ -34,6 +34,13 @@ class TaskResponse(BaseModel):
|
||||
current_stage: str | None = None
|
||||
current_stage_label: str | None = None
|
||||
last_progress_at: datetime | None = None
|
||||
running_seconds: int = 0
|
||||
seconds_since_last_progress: int | None = None
|
||||
running_duration_label: str = "刚刚"
|
||||
last_progress_ago_label: str = "暂无记录"
|
||||
is_progress_stale: bool = False
|
||||
stale_threshold_minutes: int = 10
|
||||
hotspots_count: int = 0
|
||||
comments_count: int = 0
|
||||
reports_count: int = 0
|
||||
is_demo: bool = False
|
||||
|
||||
Reference in New Issue
Block a user