feat(ai-studio): resume hosted image jobs

This commit is contained in:
chengma
2026-07-11 14:29:58 +08:00
parent cddadf6364
commit dcaf68fd07
9 changed files with 240 additions and 7 deletions
+5 -1
View File
@@ -120,7 +120,11 @@ def resume_image_jobs(
should_stop=None,
on_event=None,
):
jobs = image_studio.list_resumable_jobs(path=path, project_id=project_id)
jobs = image_studio.list_resumable_jobs(
path=path,
project_id=project_id,
include_failed_downloads=True,
)
return run_jobs(
jobs,
aspect_ratio=aspect_ratio,