@burtson-labs/bandit-engine 2.0.105 → 2.0.106
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-TIX4XHMD.mjs → chat-HQHHNWBS.mjs} +2 -2
- package/dist/{chunk-WZOY2OBC.mjs → chunk-2LL5XMLK.mjs} +2 -2
- package/dist/{chunk-EGIUL7QB.mjs → chunk-4A2M7T6B.mjs} +2 -2
- package/dist/chunk-4A2M7T6B.mjs.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +1 -1
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-EGIUL7QB.mjs.map +0 -1
- /package/dist/{chat-TIX4XHMD.mjs.map → chat-HQHHNWBS.mjs.map} +0 -0
- /package/dist/{chunk-WZOY2OBC.mjs.map → chunk-2LL5XMLK.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4A2M7T6B.mjs";
|
|
4
4
|
import {
|
|
5
5
|
chat_provider_default
|
|
6
6
|
} from "./chunk-VTKRZNLI.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
useGatewayHealth,
|
|
11
11
|
useGatewayMemory,
|
|
12
12
|
useGatewayModels
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2LL5XMLK.mjs";
|
|
14
14
|
import "./chunk-KYC7CC6C.mjs";
|
|
15
15
|
import "./chunk-HAUDGBUS.mjs";
|
|
16
16
|
import "./chunk-BN3D45E2.mjs";
|
|
@@ -23900,7 +23900,7 @@ ${protocol}`;
|
|
|
23900
23900
|
const inThinkBlock = /<think>/.test(fullMessage) && !/<think>[\s\S]*<\/think>/.test(fullMessage);
|
|
23901
23901
|
setIsThinking?.(inThinkBlock);
|
|
23902
23902
|
const visibleMessage = stripThinking(fullMessage);
|
|
23903
|
-
if (/```(?:tool_code|TOOL_CODE)/.test(visibleMessage)) {
|
|
23903
|
+
if (/```(?:tool_code|TOOL_CODE)/.test(visibleMessage) || /\b(?:web_search|web_fetch|image_generation|create_file|ask_user)\s*\(/.test(visibleMessage)) {
|
|
23904
23904
|
sawToolBlock = true;
|
|
23905
23905
|
clearFlushTimer();
|
|
23906
23906
|
startWorking();
|