ai 6.0.0 → 6.0.2
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 +97 -469
- 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 +2 -2
package/dist/index.js
CHANGED
|
@@ -951,7 +951,7 @@ var import_provider_utils3 = require("@ai-sdk/provider-utils");
|
|
|
951
951
|
var import_provider_utils4 = require("@ai-sdk/provider-utils");
|
|
952
952
|
|
|
953
953
|
// src/version.ts
|
|
954
|
-
var VERSION = true ? "6.0.
|
|
954
|
+
var VERSION = true ? "6.0.2" : "0.0.0-test";
|
|
955
955
|
|
|
956
956
|
// src/util/download/download.ts
|
|
957
957
|
var download = async ({ url }) => {
|
|
@@ -7732,7 +7732,7 @@ async function safeValidateUIMessages({
|
|
|
7732
7732
|
})
|
|
7733
7733
|
};
|
|
7734
7734
|
}
|
|
7735
|
-
if (toolPart.state === "input-available" || toolPart.state === "output-available" || toolPart.state === "output-error") {
|
|
7735
|
+
if (toolPart.state === "input-available" || toolPart.state === "output-available" || toolPart.state === "output-error" && toolPart.input !== void 0) {
|
|
7736
7736
|
await (0, import_provider_utils22.validateTypes)({
|
|
7737
7737
|
value: toolPart.input,
|
|
7738
7738
|
schema: tool2.inputSchema
|