@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/index.mjs CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  toLanguageModelMessages,
11
11
  toLanguageModelTools,
12
12
  toolResultStream
13
- } from "./chunk-RRW3NW2F.mjs";
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 */: {