@burtson-labs/bandit-engine 2.0.68 → 2.0.69
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/{chat-5QSGMPHN.mjs → chat-FLMR4EI6.mjs} +2 -2
- package/dist/{chunk-EHBZ4D7R.mjs → chunk-6KU3NOZW.mjs} +5 -7
- package/dist/chunk-6KU3NOZW.mjs.map +1 -0
- package/dist/{chunk-HUUWQOBF.mjs → chunk-NL4BY4YL.mjs} +2 -2
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +4 -6
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-EHBZ4D7R.mjs.map +0 -1
- /package/dist/{chat-5QSGMPHN.mjs.map → chat-FLMR4EI6.mjs.map} +0 -0
- /package/dist/{chunk-HUUWQOBF.mjs.map → chunk-NL4BY4YL.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6KU3NOZW.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-U633CJBV.mjs";
|
|
6
6
|
import "./chunk-IDZEEONG.mjs";
|
|
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
|
|
|
13
13
|
export {
|
|
14
14
|
chat_default as default
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chat-
|
|
16
|
+
//# sourceMappingURL=chat-FLMR4EI6.mjs.map
|
|
@@ -3445,12 +3445,8 @@ Using these results together with your own knowledge, answer my original questio
|
|
|
3445
3445
|
options: { num_predict: tokenLimit + 250 }
|
|
3446
3446
|
};
|
|
3447
3447
|
clearFlushTimer();
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
summaryPreamble ? `${summaryPreamble}
|
|
3451
|
-
|
|
3452
|
-
_Writing the answer\u2026_` : "_Writing the answer\u2026_"
|
|
3453
|
-
);
|
|
3448
|
+
setStreamBuffer("");
|
|
3449
|
+
setIsThinking?.(true);
|
|
3454
3450
|
const summaryText = await new Promise((resolve) => {
|
|
3455
3451
|
let acc = "";
|
|
3456
3452
|
let settled = false;
|
|
@@ -3468,6 +3464,7 @@ _Writing the answer\u2026_` : "_Writing the answer\u2026_"
|
|
|
3468
3464
|
const visible = stripThinking(acc);
|
|
3469
3465
|
latestDisplayMessage = visible;
|
|
3470
3466
|
lastPartialRef.current.text = visible;
|
|
3467
|
+
if (visible) setIsThinking?.(false);
|
|
3471
3468
|
setStreamBuffer(visible);
|
|
3472
3469
|
}
|
|
3473
3470
|
},
|
|
@@ -3489,6 +3486,7 @@ _Writing the answer\u2026_` : "_Writing the answer\u2026_"
|
|
|
3489
3486
|
done("");
|
|
3490
3487
|
}, 3e4);
|
|
3491
3488
|
});
|
|
3489
|
+
setIsThinking?.(false);
|
|
3492
3490
|
if (summaryText.trim()) {
|
|
3493
3491
|
const cleanedSummary = summaryText.replace(
|
|
3494
3492
|
/\n{1,}\s*(?:[*_#>\s]*)(?:sources?|references?|citations?|further reading)(?:\s*:)?\s*(?:[*_]*)\s*\n[\s\S]*$/i,
|
|
@@ -9753,4 +9751,4 @@ var chat_default = Chat;
|
|
|
9753
9751
|
export {
|
|
9754
9752
|
chat_default
|
|
9755
9753
|
};
|
|
9756
|
-
//# sourceMappingURL=chunk-
|
|
9754
|
+
//# sourceMappingURL=chunk-6KU3NOZW.mjs.map
|