mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-20 21:06:39 +08:00
feat: support output agent info
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
import type { Annotation } from './log'
|
||||
import type { Locale } from '@/i18n'
|
||||
import type { ThoughtItem } from '@/app/components/chat/type'
|
||||
|
||||
export type PromptVariable = {
|
||||
key: string
|
||||
@ -74,9 +76,12 @@ export type IChatItem = {
|
||||
* More information about this message
|
||||
*/
|
||||
more?: MessageMore
|
||||
isIntroduction?: boolean
|
||||
annotation?: Annotation
|
||||
useCurrentUserAvatar?: boolean
|
||||
isOpeningStatement?: boolean
|
||||
suggestedQuestions?: string[]
|
||||
log?: { role: string; text: string }[]
|
||||
agent_thoughts?: ThoughtItem[]
|
||||
message_files?: VisionFile[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user