ai 6.0.0-beta.92 → 6.0.0-beta.94

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/index.mjs CHANGED
@@ -757,7 +757,7 @@ import {
757
757
  } from "@ai-sdk/provider-utils";
758
758
 
759
759
  // src/version.ts
760
- var VERSION = true ? "6.0.0-beta.92" : "0.0.0-test";
760
+ var VERSION = true ? "6.0.0-beta.94" : "0.0.0-test";
761
761
 
762
762
  // src/util/download/download.ts
763
763
  var download = async ({ url }) => {
@@ -10884,7 +10884,7 @@ var AbstractChat = class {
10884
10884
  });
10885
10885
  }
10886
10886
  });
10887
- this.addToolResult = async ({
10887
+ this.addToolOutput = async ({
10888
10888
  state = "output-available",
10889
10889
  tool: tool2,
10890
10890
  toolCallId,
@@ -10909,6 +10909,8 @@ var AbstractChat = class {
10909
10909
  });
10910
10910
  }
10911
10911
  });
10912
+ /** @deprecated Use addToolOutput */
10913
+ this.addToolResult = this.addToolOutput;
10912
10914
  /**
10913
10915
  * Abort the current request immediately, keep the generated tokens if any.
10914
10916
  */