@assistant-ui/react 0.5.80 → 0.5.81
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{chunk-BDPD5HCK.js → chunk-CYIFAX4U.js} +1 -1
- package/dist/{chunk-BDPD5HCK.js.map → chunk-CYIFAX4U.js.map} +1 -1
- package/dist/{chunk-RRW3NW2F.mjs → chunk-RHM73CQE.mjs} +1 -1
- package/dist/chunk-RHM73CQE.mjs.map +1 -0
- package/dist/edge.js.map +1 -1
- package/dist/edge.mjs.map +1 -1
- package/dist/index.js +19 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-RRW3NW2F.mjs.map +0 -1
package/dist/index.mjs
CHANGED
@@ -10,7 +10,7 @@ import {
|
|
10
10
|
toLanguageModelMessages,
|
11
11
|
toLanguageModelTools,
|
12
12
|
toolResultStream
|
13
|
-
} from "./chunk-
|
13
|
+
} from "./chunk-RHM73CQE.mjs";
|
14
14
|
import {
|
15
15
|
__export
|
16
16
|
} from "./chunk-BJPOCE4O.mjs";
|
@@ -3923,6 +3923,13 @@ function assistantDecoderStream() {
|
|
3923
3923
|
const { toolCallId: id, toolName: name } = value;
|
3924
3924
|
toolCallNames.set(id, name);
|
3925
3925
|
currentToolCall = { id, name, argsText: "" };
|
3926
|
+
controller.enqueue({
|
3927
|
+
type: "tool-call-delta",
|
3928
|
+
toolCallType: "function",
|
3929
|
+
toolCallId: id,
|
3930
|
+
toolName: name,
|
3931
|
+
argsTextDelta: ""
|
3932
|
+
});
|
3926
3933
|
break;
|
3927
3934
|
}
|
3928
3935
|
case "c" /* ToolCallDelta */: {
|