From cf7eda004123f2ee07bfa7d05f51f71f9dbb4bcd Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 18 七月 2024 11:48:59 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/WI/Web.V1.0 --- src/components/chat/model/types.ts | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/chat/model/types.ts b/src/components/chat/model/types.ts index 67f1e76..6b10ebd 100644 --- a/src/components/chat/model/types.ts +++ b/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 { -- Gitblit v1.9.3