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
}
) =>
request<ProductionPipelineResult>(`${projectPath(projectId)}/production/start`, {
request<WorkflowExecutionStart>(`${projectPath(projectId)}/production/start`, {
method: 'POST',
body: input ?? {},
timeoutMs: 0
body: input ?? {}
}),
promptReadiness: (projectId: string, force: boolean, signal?: AbortSignal) =>
request<PromptReadiness>(`${projectPath(projectId)}/video-prompts/readiness?force=${force}`, { signal }),