wujingjing
2025-04-09 2b8b2cac4fe3f05474459a034bc4034f2d7aa0cb
src/components/chat/model/types.ts
@@ -6,6 +6,10 @@
import type { Attach } from '../components/playBar/hook/useAttach';
import assistantPic from '/static/images/role/assistant-200x192.png';
import userPic from '/static/images/role/user-200x206.png';
import ContentCb from '../chatComponents/contentCbCom/index.vue';
import InputSelect from '../chatComponents/contentCbCom/InputSelect.vue';
import TimeRange from '../chatComponents/contentCbCom/TimeRange.vue';
export const enum AnswerType {
   Knowledge = 'knowledge',
   RecordSet = 'recordset',
@@ -15,6 +19,8 @@
   Map = 'map',
   Report = 'report_list',
   Script = 'script',
    ContentCb = 'content_cb',
}
export const answerTypeMapCom = {
@@ -23,6 +29,8 @@
   [AnswerType.Text]: NormalTextCom,
   [AnswerType.Summary]: SummaryCom,
   [AnswerType.Script]: ScriptMode,
   [AnswerType.ContentCb]: ContentCb,
};
export const enum RoleEnum {