1
This commit is contained in:
@@ -689,15 +689,20 @@ async def retry_task(
|
||||
record_id=task.id,
|
||||
gen_type=task.gen_type,
|
||||
image_size=task.image_size,
|
||||
image_px=task.image_px,
|
||||
aspect_ratio=task.aspect_ratio or task.image_proportion,
|
||||
duration=task.duration,
|
||||
resolution=task.resolution,
|
||||
fps=24 if task.gen_type == "video" else None,
|
||||
engine_id=task.engine_id,
|
||||
project_name="AI生成任务",
|
||||
description_prefix="Chat任务重试",
|
||||
owner_type=OWNER_CHAT_GENERATION_TASK,
|
||||
attempt_no=attempt_no,
|
||||
media_references=task.media_references,
|
||||
)
|
||||
|
||||
task.current_billing_attempt_no = attempt_no
|
||||
task.status = "generating"
|
||||
task.pipeline_stage = "queued"
|
||||
task.error_message = None
|
||||
|
||||
Reference in New Issue
Block a user