feat(agent): 审美分析 - 接入费用确认与阶段任务恢复

This commit is contained in:
王志伟 committed 2026-09-09 13:01:47 +08:00
1 parent 757d1dd2c7
commit d0024fbbc6
13 files changed
+432 -27

No files matched your search

+2
View File
@@ -126,6 +126,8 @@ export type ArtCritiqueNodeStatus = "idle" | "running" | "completed" | "failed"
export type ArtCritiqueNodeState = {
stageTaskIds?: Record<string, string>;
billingRunId?: string;
lastRunModel?: string;
schemaVersion: typeof ART_CRITIQUE_SCHEMA_VERSION;
status: ArtCritiqueNodeStatus;
sourceNodeId?: string;
+1 -1
View File
@@ -1116,7 +1116,7 @@ function emitStage(options: ArtCritiquePipelineOptions, stage: ArtCritiquePipeli
}
function rethrowIfAborted(error: unknown, signal?: AbortSignal): asserts error is Error {
if (signal?.aborted) throw error;
if (signal?.aborted || (error instanceof Error && error.name === "AbortError")) throw error;
}
function throwIfAborted(signal?: AbortSignal) {