src/components/chat/model/types.ts
@@ -33,11 +33,17 @@ }; export type AnswerStateType = typeof AnswerState; export type ContextHistory = { /** @description 数字字符串 */ ratio:string; history_id:string; question:string; } export type ChatContent = { type: AnswerType; values: any; error?: string; askMoreList?:ContextHistory[]; }; export interface ChatMessage {