feat(agent): 审美分析 - 接入费用确认与阶段任务恢复
This commit is contained in:
1 parent
757d1dd2c7
commit
d0024fbbc6
13 files changed
+432
-27
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user