mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
answer node
This commit is contained in:
@ -4,6 +4,8 @@ import type {
|
||||
VisionSettings,
|
||||
} from '@/types/app'
|
||||
import type { IChatItem } from '@/app/components/app/chat/type'
|
||||
import type { NodeTracing } from '@/types/workflow'
|
||||
import type { WorkflowRunningStatus } from '@/app/components/workflow/types'
|
||||
|
||||
export type { VisionFile } from '@/types/app'
|
||||
export { TransferMethod } from '@/types/app'
|
||||
@ -48,7 +50,14 @@ export type ChatConfig = Omit<ModelConfig, 'model'> & {
|
||||
supportCitationHitInfo?: boolean
|
||||
}
|
||||
|
||||
export type ChatItem = IChatItem
|
||||
export type WorkflowProcess = {
|
||||
status: WorkflowRunningStatus
|
||||
nodes: NodeTracing[]
|
||||
}
|
||||
|
||||
export type ChatItem = IChatItem & {
|
||||
workflowProcess?: WorkflowProcess
|
||||
}
|
||||
|
||||
export type OnSend = (message: string, files?: VisionFile[]) => void
|
||||
|
||||
|
||||
Reference in New Issue
Block a user