wujingjing
2024-07-18 cf7eda004123f2ee07bfa7d05f51f71f9dbb4bcd
src/components/chat/model/types.ts
@@ -11,6 +11,7 @@
   Text = 'text',
   Summary = 'summary',
   Url = 'url',
   Map = 'map',
}
export const answerTypeMapCom = {
@@ -32,11 +33,18 @@
};
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;
   msg?: string;
   askMoreList?:ContextHistory[];
   errCode?:string;
};
export interface ChatMessage {