@blueking/ai-blueking 2.2.2-beta.8 → 2.2.2-beta.9
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/manager/business/chat-business-manager.d.ts +3 -0
- package/dist/manager/business/chat-business-manager.d.ts.map +1 -1
- package/dist/standalone/index.es.min.js +7 -4
- package/dist/standalone/index.iife.min.js +2 -2
- package/dist/standalone/index.umd.min.js +2 -2
- package/dist/vue2/index.es.min.js +7 -4
- package/dist/vue2/index.iife.min.js +3 -3
- package/dist/vue2/index.umd.min.js +3 -3
- package/dist/vue3/index.es.min.js +7 -4
- package/dist/vue3/index.iife.min.js +2 -2
- package/dist/vue3/index.umd.min.js +2 -2
- package/package.json +3 -3
|
@@ -20427,7 +20427,9 @@ var dT = /* @__PURE__ */ function(e) {
|
|
|
20427
20427
|
});
|
|
20428
20428
|
}
|
|
20429
20429
|
}, C = (e) => {
|
|
20430
|
-
|
|
20430
|
+
if (!v()) return;
|
|
20431
|
+
let t = e;
|
|
20432
|
+
(t?.type === vT.RunFinished || t?.type === vT.RunError) && (p = !0), s.onMessage?.call(s, e);
|
|
20431
20433
|
}, T = () => {
|
|
20432
20434
|
v() && (i.value = !0, s.onStart?.call(s));
|
|
20433
20435
|
};
|
|
@@ -21526,9 +21528,10 @@ var KT = (e) => {
|
|
|
21526
21528
|
};
|
|
21527
21529
|
}
|
|
21528
21530
|
}, $T = (e) => ({
|
|
21529
|
-
getMessages: (t, n, r) => e.get("session_content/content/", {
|
|
21531
|
+
getMessages: (t, n, r, i) => e.get("session_content/content/", {
|
|
21530
21532
|
session_code: t,
|
|
21531
|
-
limit: n
|
|
21533
|
+
limit: n,
|
|
21534
|
+
fuzzy: i
|
|
21532
21535
|
}, r).then((e) => e.map(ZT)),
|
|
21533
21536
|
plusMessage: (t, n) => e.post("session_content/", QT(t), n).then(ZT),
|
|
21534
21537
|
modifyMessage: (t, n) => e.put(`session_content/${t.id}/`, QT(t), n).then(ZT),
|
|
@@ -55182,7 +55185,7 @@ var vZ = class {
|
|
|
55182
55185
|
let e = this.sessionModule?.current?.value?.sessionCode ?? "";
|
|
55183
55186
|
this._isStopLoading.value = !0;
|
|
55184
55187
|
try {
|
|
55185
|
-
|
|
55188
|
+
await this.agentModule.stopChat(e), this._isGenerating.value = !1, this.emit("stop", {});
|
|
55186
55189
|
} catch (e) {
|
|
55187
55190
|
throw console.error("Failed to stop generation:", e), this.emit("chat-error", {
|
|
55188
55191
|
action: "stop",
|