From 0017965fec5a114d00bb602b7793ec639ec7ff94 Mon Sep 17 00:00:00 2001 From: GouJ Date: Sat, 26 Sep 2026 20:16:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Create=20Drama=20=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=8E=A5=E6=94=B6=E6=89=A7=E8=A1=8C=20ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/projects/api.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/features/projects/api.ts b/src/features/projects/api.ts index 417d75f..d84d1c4 100644 --- a/src/features/projects/api.ts +++ b/src/features/projects/api.ts @@ -1,5 +1,6 @@ import { request, optionalResource } from '../../lib/http' import type { Checkpoint } from '../workflows/types' +import type { WorkflowExecutionStart } from '../workflows/execution.types' import type { CreateProjectInput, DramaState, Project, ProjectDetail, UpdateProjectInput } from './types' /** 项目与 Create Drama API;路径严格对应后端 dev。 */ @@ -25,5 +26,5 @@ export const projectsApi = { checkpoints: (id: string, signal?: AbortSignal) => request(`/projects/${encodeURIComponent(id)}/checkpoints`, { signal }), resume: (id: string, action: 'resume-generation' | 'resume-rewrite') => - request(`/projects/${encodeURIComponent(id)}/${action}`, { method: 'POST', timeoutMs: 0 }) + request(`/projects/${encodeURIComponent(id)}/${action}`, { method: 'POST' }) }