ai 5.1.0-beta.22 → 5.1.0-beta.24

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
@@ -716,7 +716,7 @@ import {
716
716
  } from "@ai-sdk/provider-utils";
717
717
 
718
718
  // src/version.ts
719
- var VERSION = true ? "5.1.0-beta.22" : "0.0.0-test";
719
+ var VERSION = true ? "5.1.0-beta.24" : "0.0.0-test";
720
720
 
721
721
  // src/util/download/download.ts
722
722
  var download = async ({ url }) => {
@@ -6242,6 +6242,9 @@ var Agent = class {
6242
6242
  get tools() {
6243
6243
  return this.settings.tools;
6244
6244
  }
6245
+ /**
6246
+ * Generates an output from the agent (non-streaming).
6247
+ */
6245
6248
  async generate(options) {
6246
6249
  var _a17;
6247
6250
  return generateText({
@@ -6250,6 +6253,9 @@ var Agent = class {
6250
6253
  ...options
6251
6254
  });
6252
6255
  }
6256
+ /**
6257
+ * Streams an output from the agent (streaming).
6258
+ */
6253
6259
  stream(options) {
6254
6260
  var _a17;
6255
6261
  return streamText({