ai 6.0.23 → 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.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +3 -15
- package/dist/index.d.ts +3 -15
- package/dist/index.js +41 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +41 -7
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +2 -0
- package/dist/internal/index.d.ts +2 -0
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -87,10 +87,12 @@ 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
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)
|
|
90
91
|
*/
|
|
91
92
|
type TimeoutConfiguration = number | {
|
|
92
93
|
totalMs?: number;
|
|
93
94
|
stepMs?: number;
|
|
95
|
+
chunkMs?: number;
|
|
94
96
|
};
|
|
95
97
|
type CallSettings = {
|
|
96
98
|
/**
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -87,10 +87,12 @@ 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
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)
|
|
90
91
|
*/
|
|
91
92
|
type TimeoutConfiguration = number | {
|
|
92
93
|
totalMs?: number;
|
|
93
94
|
stepMs?: number;
|
|
95
|
+
chunkMs?: number;
|
|
94
96
|
};
|
|
95
97
|
type CallSettings = {
|
|
96
98
|
/**
|
package/dist/internal/index.js
CHANGED
|
@@ -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.
|
|
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 }) => {
|
package/dist/internal/index.mjs
CHANGED
|
@@ -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.
|
|
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 }) => {
|