ai 6.0.1 → 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 +90 -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.mjs
CHANGED
|
@@ -852,7 +852,7 @@ import {
|
|
|
852
852
|
} from "@ai-sdk/provider-utils";
|
|
853
853
|
|
|
854
854
|
// src/version.ts
|
|
855
|
-
var VERSION = true ? "6.0.
|
|
855
|
+
var VERSION = true ? "6.0.2" : "0.0.0-test";
|
|
856
856
|
|
|
857
857
|
// src/util/download/download.ts
|
|
858
858
|
var download = async ({ url }) => {
|
|
@@ -7669,7 +7669,7 @@ async function safeValidateUIMessages({
|
|
|
7669
7669
|
})
|
|
7670
7670
|
};
|
|
7671
7671
|
}
|
|
7672
|
-
if (toolPart.state === "input-available" || toolPart.state === "output-available" || toolPart.state === "output-error") {
|
|
7672
|
+
if (toolPart.state === "input-available" || toolPart.state === "output-available" || toolPart.state === "output-error" && toolPart.input !== void 0) {
|
|
7673
7673
|
await validateTypes2({
|
|
7674
7674
|
value: toolPart.input,
|
|
7675
7675
|
schema: tool2.inputSchema
|