feat(app/log): Add Referenced Content in Application Logs (#7082)

This commit is contained in:
Kevin9703
2024-08-09 19:06:08 +08:00
committed by GitHub
parent d338f69837
commit 2c188a45c8
3 changed files with 22 additions and 11 deletions

View File

@@ -4,6 +4,7 @@ import type {
Edge,
Node,
} from '@/app/components/workflow/types'
import type { Metadata } from '@/app/components/base/chat/chat/type'
// Log type contains key:string conversation_id:string created_at:string quesiton:string answer:string
export type Conversation = {
@@ -102,6 +103,7 @@ export type MessageContent = {
from_end_user_id?: string
}>
message_files: VisionFile[]
metadata: Metadata
agent_thoughts: any[] // TODO
workflow_run_id: string
}