ai 6.0.0-beta.113 → 6.0.0-beta.114
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.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 +2 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -886,7 +886,7 @@ function detectMediaType({
|
|
|
886
886
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
887
887
|
|
|
888
888
|
// src/version.ts
|
|
889
|
-
var VERSION = true ? "6.0.0-beta.
|
|
889
|
+
var VERSION = true ? "6.0.0-beta.114" : "0.0.0-test";
|
|
890
890
|
|
|
891
891
|
// src/util/download/download.ts
|
|
892
892
|
var download = async ({ url }) => {
|
|
@@ -1719,7 +1719,7 @@ async function standardizePrompt(prompt) {
|
|
|
1719
1719
|
if (!validationResult.success) {
|
|
1720
1720
|
throw new import_provider19.InvalidPromptError({
|
|
1721
1721
|
prompt,
|
|
1722
|
-
message: "The messages
|
|
1722
|
+
message: "The messages do not match the ModelMessage[] schema.",
|
|
1723
1723
|
cause: validationResult.error
|
|
1724
1724
|
});
|
|
1725
1725
|
}
|