@assistant-ui/react 0.5.79 → 0.5.80
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{chunk-KVXP3Q6K.js → chunk-BDPD5HCK.js} +26 -24
- package/dist/chunk-BDPD5HCK.js.map +1 -0
- package/dist/{chunk-SNNYBBO6.mjs → chunk-RRW3NW2F.mjs} +18 -16
- package/dist/chunk-RRW3NW2F.mjs.map +1 -0
- package/dist/edge.js +17 -15
- package/dist/edge.js.map +1 -1
- package/dist/edge.mjs +17 -15
- package/dist/edge.mjs.map +1 -1
- package/dist/index.js +54 -52
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-KVXP3Q6K.js.map +0 -1
- package/dist/chunk-SNNYBBO6.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-RRW3NW2F.mjs";
|
14
14
|
import {
|
15
15
|
__export
|
16
16
|
} from "./chunk-BJPOCE4O.mjs";
|
@@ -3928,7 +3928,9 @@ function assistantDecoderStream() {
|
|
3928
3928
|
case "c" /* ToolCallDelta */: {
|
3929
3929
|
const { toolCallId, argsTextDelta } = value;
|
3930
3930
|
const toolName = toolCallNames.get(toolCallId);
|
3931
|
-
currentToolCall
|
3931
|
+
if (currentToolCall?.id === toolCallId) {
|
3932
|
+
currentToolCall.argsText += argsTextDelta;
|
3933
|
+
}
|
3932
3934
|
controller.enqueue({
|
3933
3935
|
type: "tool-call-delta",
|
3934
3936
|
toolCallType: "function",
|