@blueking/ai-blueking 2.2.4-beta.1 → 2.2.4-beta.2
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/README.md +1 -1
- package/dist/components/composables/use-message-sender.d.ts.map +1 -1
- package/dist/composables/use-session-handlers.d.ts.map +1 -1
- package/dist/standalone/index.es.min.js +1070 -1047
- package/dist/standalone/index.iife.min.js +10 -15
- package/dist/standalone/index.umd.min.js +10 -15
- package/dist/standalone/style.css +1 -1
- package/dist/vue2/index.es.min.js +671 -648
- package/dist/vue2/index.iife.min.js +8 -13
- package/dist/vue2/index.umd.min.js +8 -13
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/index.es.min.js +6 -2
- package/dist/vue3/index.iife.min.js +9 -14
- package/dist/vue3/index.umd.min.js +3 -3
- package/dist/vue3/style.css +1 -1
- package/package.json +3 -3
|
@@ -4176,7 +4176,11 @@ function Yn(e) {
|
|
|
4176
4176
|
//#endregion
|
|
4177
4177
|
//#region src/components/composables/use-message-sender.ts
|
|
4178
4178
|
function Xn(e) {
|
|
4179
|
-
let { emit: t, chatHelper: n, chatBusinessManager: r, getRequestOptions: i, reportError: a, resumeUserQuestionWithInput: o, selectedShortcut: s, selectedResources: c } = e, l = k([[]]), u = k("")
|
|
4179
|
+
let { emit: t, chatHelper: n, chatBusinessManager: r, getRequestOptions: i, reportError: a, resumeUserQuestionWithInput: o, selectedShortcut: s, selectedResources: c } = e, l = k([[]]), u = k("");
|
|
4180
|
+
L(() => n.value?.session.current?.value?.sessionCode, (e, t) => {
|
|
4181
|
+
t && t !== e && (u.value = "");
|
|
4182
|
+
});
|
|
4183
|
+
let d = (e, t) => {
|
|
4180
4184
|
l.value = e, c.value = t;
|
|
4181
4185
|
}, f = async (e, a = {}) => {
|
|
4182
4186
|
if (!r.value || !n.value) throw Error("[ChatBot] Cannot send message: chatBusinessManager not initialized");
|
|
@@ -5337,7 +5341,7 @@ function dr(e) {
|
|
|
5337
5341
|
hasSessionContents: l,
|
|
5338
5342
|
autoGenerateLoading: u,
|
|
5339
5343
|
handleNewChat: async () => {
|
|
5340
|
-
r.value?.exitShareMode(), i.newChat();
|
|
5344
|
+
r.value?.exitShareMode(), r.value?.setCiteText(""), i.newChat();
|
|
5341
5345
|
},
|
|
5342
5346
|
handleNewChatCreated: (e) => {
|
|
5343
5347
|
i.newChatCreated(e);
|