feat: Production 启动前端接收后台执行 ID

This commit is contained in:
GouJ committed 2026-09-26 20:24:12 +08:00
1 parent 10d83e570f
commit 00032cf30d
1 file changed
+2 -3
+2 -3
View File
@@ -77,10 +77,9 @@ export const productionApi = {
keyframeLimit?: number keyframeLimit?: number
} }
) => ) =>
request<ProductionPipelineResult>(`${projectPath(projectId)}/production/start`, { request<WorkflowExecutionStart>(`${projectPath(projectId)}/production/start`, {
method: 'POST', method: 'POST',
body: input ?? {}, body: input ?? {}
timeoutMs: 0
}), }),
promptReadiness: (projectId: string, force: boolean, signal?: AbortSignal) => promptReadiness: (projectId: string, force: boolean, signal?: AbortSignal) =>
request<PromptReadiness>(`${projectPath(projectId)}/video-prompts/readiness?force=${force}`, { signal }), request<PromptReadiness>(`${projectPath(projectId)}/video-prompts/readiness?force=${force}`, { signal }),