ai 6.0.187 → 6.0.188

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
@@ -1144,7 +1144,7 @@ import {
1144
1144
  } from "@ai-sdk/provider-utils";
1145
1145
 
1146
1146
  // src/version.ts
1147
- var VERSION = true ? "6.0.187" : "0.0.0-test";
1147
+ var VERSION = true ? "6.0.188" : "0.0.0-test";
1148
1148
 
1149
1149
  // src/util/download/download.ts
1150
1150
  var download = async ({
@@ -8247,11 +8247,22 @@ var ToolLoopAgent = class {
8247
8247
  _b,
8248
8248
  baseCallArgs
8249
8249
  ))) != null ? _d : baseCallArgs;
8250
- const { instructions, messages, prompt, ...callArgs } = preparedCallArgs;
8250
+ const {
8251
+ instructions,
8252
+ allowSystemInMessages,
8253
+ messages,
8254
+ prompt,
8255
+ ...callArgs
8256
+ } = preparedCallArgs;
8251
8257
  return {
8252
8258
  ...callArgs,
8253
8259
  // restore prompt types
8254
- ...{ system: instructions, messages, prompt }
8260
+ ...{
8261
+ system: instructions,
8262
+ allowSystemInMessages,
8263
+ messages,
8264
+ prompt
8265
+ }
8255
8266
  };
8256
8267
  }
8257
8268
  mergeOnStepFinishCallbacks(methodCallback) {