auto-sync: 2026-06-04 23:51:56
This commit is contained in:
@@ -1498,6 +1498,9 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
|
||||
db_path: Optional[Path] = None,
|
||||
) -> None:
|
||||
"""记录 task_attempt"""
|
||||
# 广播 spawn 产生的 "broadcast" task_id 不记录 attempts,避免脏数据
|
||||
if task_id == "broadcast":
|
||||
return
|
||||
effective_db = db_path or self.db_path
|
||||
if not task_id or not effective_db:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user