ai 6.0.22 → 6.0.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.
@@ -86,9 +86,13 @@ declare function convertToLanguageModelPrompt({ prompt, supportedUrls, download,
86
86
  Timeout configuration for API calls. Can be specified as:
87
87
  - A number representing milliseconds
88
88
  - An object with `totalMs` property for the total timeout in milliseconds
89
+ - An object with `stepMs` property for the timeout of each step in milliseconds
90
+ - An object with `chunkMs` property for the timeout between stream chunks (streaming only)
89
91
  */
90
92
  type TimeoutConfiguration = number | {
91
93
  totalMs?: number;
94
+ stepMs?: number;
95
+ chunkMs?: number;
92
96
  };
93
97
  type CallSettings = {
94
98
  /**
@@ -86,9 +86,13 @@ declare function convertToLanguageModelPrompt({ prompt, supportedUrls, download,
86
86
  Timeout configuration for API calls. Can be specified as:
87
87
  - A number representing milliseconds
88
88
  - An object with `totalMs` property for the total timeout in milliseconds
89
+ - An object with `stepMs` property for the timeout of each step in milliseconds
90
+ - An object with `chunkMs` property for the timeout between stream chunks (streaming only)
89
91
  */
90
92
  type TimeoutConfiguration = number | {
91
93
  totalMs?: number;
94
+ stepMs?: number;
95
+ chunkMs?: number;
92
96
  };
93
97
  type CallSettings = {
94
98
  /**
@@ -153,7 +153,7 @@ var import_provider_utils2 = require("@ai-sdk/provider-utils");
153
153
  var import_provider_utils3 = require("@ai-sdk/provider-utils");
154
154
 
155
155
  // src/version.ts
156
- var VERSION = true ? "6.0.22" : "0.0.0-test";
156
+ var VERSION = true ? "6.0.24" : "0.0.0-test";
157
157
 
158
158
  // src/util/download/download.ts
159
159
  var download = async ({ url }) => {
@@ -128,7 +128,7 @@ import {
128
128
  } from "@ai-sdk/provider-utils";
129
129
 
130
130
  // src/version.ts
131
- var VERSION = true ? "6.0.22" : "0.0.0-test";
131
+ var VERSION = true ? "6.0.24" : "0.0.0-test";
132
132
 
133
133
  // src/util/download/download.ts
134
134
  var download = async ({ url }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai",
3
- "version": "6.0.22",
3
+ "version": "6.0.24",
4
4
  "description": "AI SDK by Vercel - The AI Toolkit for TypeScript and JavaScript",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,