ai 6.0.0-beta.56 → 6.0.0-beta.58

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
@@ -775,7 +775,7 @@ import {
775
775
  } from "@ai-sdk/provider-utils";
776
776
 
777
777
  // src/version.ts
778
- var VERSION = true ? "6.0.0-beta.56" : "0.0.0-test";
778
+ var VERSION = true ? "6.0.0-beta.58" : "0.0.0-test";
779
779
 
780
780
  // src/util/download/download.ts
781
781
  var download = async ({ url }) => {
@@ -6450,9 +6450,10 @@ function convertToModelMessages(messages, options) {
6450
6450
  }
6451
6451
  var convertToCoreMessages = convertToModelMessages;
6452
6452
 
6453
- // src/agent/basic-agent.ts
6454
- var BasicAgent = class {
6453
+ // src/agent/tool-loop-agent.ts
6454
+ var ToolLoopAgent = class {
6455
6455
  constructor(settings) {
6456
+ this.version = "agent-v1";
6456
6457
  this.settings = settings;
6457
6458
  }
6458
6459
  /**
@@ -11164,11 +11165,10 @@ export {
11164
11165
  AISDKError18 as AISDKError,
11165
11166
  APICallError,
11166
11167
  AbstractChat,
11167
- BasicAgent,
11168
11168
  DefaultChatTransport,
11169
11169
  DownloadError,
11170
11170
  EmptyResponseBodyError,
11171
- BasicAgent as Experimental_Agent,
11171
+ ToolLoopAgent as Experimental_Agent,
11172
11172
  HttpChatTransport,
11173
11173
  InvalidArgumentError,
11174
11174
  InvalidDataContentError,
@@ -11198,6 +11198,7 @@ export {
11198
11198
  TextStreamChatTransport,
11199
11199
  TooManyEmbeddingValuesForCallError,
11200
11200
  ToolCallRepairError,
11201
+ ToolLoopAgent,
11201
11202
  TypeValidationError,
11202
11203
  UI_MESSAGE_STREAM_HEADERS,
11203
11204
  UnsupportedFunctionalityError,