fix: populate sequence in workflow LLM generation and render outputs_as_generation

This commit is contained in:
Novice
2026-03-25 16:47:02 +08:00
parent 10c1c96ea5
commit 6189d3f778
9 changed files with 183 additions and 42 deletions

View File

@ -2,6 +2,7 @@ import type { Viewport } from 'reactflow'
import type { Metadata } from '@/app/components/base/chat/chat/type'
import type {
Edge,
JsonValue,
Node,
} from '@/app/components/workflow/types'
import type { VisionFile } from '@/types/app'
@ -297,7 +298,8 @@ export type WorkflowRunDetailResponse = {
inputs: string
inputs_truncated: boolean
status: 'running' | 'succeeded' | 'failed' | 'stopped'
outputs?: string
outputs?: Record<string, JsonValue>
outputs_as_generation?: boolean
outputs_truncated: boolean
outputs_full_content?: {
download_url: string