ai 6.0.0-beta.151 → 6.0.0-beta.152
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 +9 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# ai
|
|
2
2
|
|
|
3
|
+
## 6.0.0-beta.152
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 960ec8f: chore: change argument of toModelOutput to parameter object
|
|
8
|
+
- Updated dependencies [960ec8f]
|
|
9
|
+
- @ai-sdk/provider-utils@4.0.0-beta.48
|
|
10
|
+
- @ai-sdk/gateway@2.0.0-beta.79
|
|
11
|
+
|
|
3
12
|
## 6.0.0-beta.151
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -964,7 +964,7 @@ function detectMediaType({
|
|
|
964
964
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
965
965
|
|
|
966
966
|
// src/version.ts
|
|
967
|
-
var VERSION = true ? "6.0.0-beta.
|
|
967
|
+
var VERSION = true ? "6.0.0-beta.152" : "0.0.0-test";
|
|
968
968
|
|
|
969
969
|
// src/util/download/download.ts
|
|
970
970
|
var download = async ({ url }) => {
|
|
@@ -1385,7 +1385,7 @@ function createToolModelOutput({
|
|
|
1385
1385
|
return { type: "error-json", value: toJSONValue(output) };
|
|
1386
1386
|
}
|
|
1387
1387
|
if (tool2 == null ? void 0 : tool2.toModelOutput) {
|
|
1388
|
-
return tool2.toModelOutput(output);
|
|
1388
|
+
return tool2.toModelOutput({ output });
|
|
1389
1389
|
}
|
|
1390
1390
|
return typeof output === "string" ? { type: "text", value: output } : { type: "json", value: toJSONValue(output) };
|
|
1391
1391
|
}
|