@myun/gimi-chat 0.9.70 → 0.9.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/useApi.d.ts +6 -0
- package/dist/apis/useApi.js +64 -1
- package/dist/components/answer-item/component/tool-list/index.d.ts +2 -1
- package/dist/components/answer-item/component/tool-list/index.js +9 -4
- package/dist/components/answer-item/index.js +9 -13
- package/dist/components/chat-input/index.js +62 -4
- package/dist/components/chat-input/index.module.css +4 -0
- package/dist/components/knowledge-trace/KnowledgeIconComponent.js +14 -3
- package/dist/components/message-list/index.js +126 -2
- package/dist/hooks/useChatStream.js +81 -19
- package/dist/i18n/locales/en-US.d.ts +1 -0
- package/dist/i18n/locales/en-US.js +1 -0
- package/dist/i18n/locales/zh-CN.d.ts +1 -0
- package/dist/i18n/locales/zh-CN.js +1 -0
- package/dist/store/slices/gimiMenuSlice.d.ts +2 -2
- package/dist/types/chat.d.ts +1 -1
- package/dist/umd/index.min.js +1 -1
- package/package.json +1 -1
|
@@ -171,6 +171,7 @@ var enUS = {
|
|
|
171
171
|
'chatApi.completed': 'Completed',
|
|
172
172
|
'chatApi.organizingAnswer': 'Organizing answer',
|
|
173
173
|
'chatApi.waitingForConfirmation': 'Waiting for confirmation',
|
|
174
|
+
'chatApi.linkUnavailable': 'This link is temporarily unavailable',
|
|
174
175
|
'messageAction.copy': 'Copy',
|
|
175
176
|
'messageAction.likeDone': 'Liked',
|
|
176
177
|
'messageAction.like': 'Like',
|
|
@@ -173,6 +173,7 @@ declare const zhCN: {
|
|
|
173
173
|
'chatApi.completed': string;
|
|
174
174
|
'chatApi.organizingAnswer': string;
|
|
175
175
|
'chatApi.waitingForConfirmation': string;
|
|
176
|
+
'chatApi.linkUnavailable': string;
|
|
176
177
|
'messageAction.copy': string;
|
|
177
178
|
'messageAction.likeDone': string;
|
|
178
179
|
'messageAction.like': string;
|
|
@@ -173,6 +173,7 @@ var zhCN = {
|
|
|
173
173
|
'chatApi.completed': '已完成',
|
|
174
174
|
'chatApi.organizingAnswer': '正在整理答案',
|
|
175
175
|
'chatApi.waitingForConfirmation': '等待人工确认',
|
|
176
|
+
'chatApi.linkUnavailable': '该链接暂时无法访问',
|
|
176
177
|
'messageAction.copy': '复制',
|
|
177
178
|
'messageAction.likeDone': '已点赞',
|
|
178
179
|
'messageAction.like': '点赞',
|
|
@@ -13,7 +13,7 @@ export interface SidebarState {
|
|
|
13
13
|
searchCourseList: ICourseItem[];
|
|
14
14
|
}
|
|
15
15
|
export interface GimiMenuState {
|
|
16
|
-
platform: 'myun' | 'preview' | 'damai';
|
|
16
|
+
platform: 'myun' | 'preview' | 'damai' | 'qiwei';
|
|
17
17
|
token: string;
|
|
18
18
|
baseUrl: string;
|
|
19
19
|
conversationId: number | null;
|
|
@@ -82,7 +82,7 @@ export declare const setAgentDetail: import("@reduxjs/toolkit").ActionCreatorWit
|
|
|
82
82
|
}, "gimiMenu/setBaseUrl">, setToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
83
83
|
token: string;
|
|
84
84
|
}, "gimiMenu/setToken">, setPlatform: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
85
|
-
platform: 'myun' | 'preview' | 'damai';
|
|
85
|
+
platform: 'myun' | 'preview' | 'damai' | 'qiwei';
|
|
86
86
|
}, "gimiMenu/setPlatform">, updateState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<GimiMenuState>, "gimiMenu/updateState">, setMessageList: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
87
87
|
messageList: IChatMessageItem[];
|
|
88
88
|
}, "gimiMenu/setMessageList">, setFileList: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
package/dist/types/chat.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export interface CommonChatProps {
|
|
|
130
130
|
duration: number;
|
|
131
131
|
};
|
|
132
132
|
chatInputConfig?: IAIInputProps;
|
|
133
|
-
platform?: 'myun' | 'preview' | 'damai';
|
|
133
|
+
platform?: 'myun' | 'preview' | 'damai' | 'qiwei';
|
|
134
134
|
businessType: 'correction' | 'chat';
|
|
135
135
|
businessParams?: Record<string, any>;
|
|
136
136
|
defaultMessages?: IChatMessageItem[];
|