ai 5.0.79 → 5.0.80
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 +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -764,7 +764,7 @@ function detectMediaType({
|
|
|
764
764
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
765
765
|
|
|
766
766
|
// src/version.ts
|
|
767
|
-
var VERSION = true ? "5.0.
|
|
767
|
+
var VERSION = true ? "5.0.80" : "0.0.0-test";
|
|
768
768
|
|
|
769
769
|
// src/util/download/download.ts
|
|
770
770
|
var download = async ({ url }) => {
|
|
@@ -6593,7 +6593,7 @@ var objectOutputStrategy = (schema) => ({
|
|
|
6593
6593
|
var arrayOutputStrategy = (schema) => {
|
|
6594
6594
|
const { $schema, ...itemSchema } = schema.jsonSchema;
|
|
6595
6595
|
return {
|
|
6596
|
-
type: "
|
|
6596
|
+
type: "array",
|
|
6597
6597
|
// wrap in object that contains array of elements, since most LLMs will not
|
|
6598
6598
|
// be able to generate an array directly:
|
|
6599
6599
|
// possible future optimization: use arrays directly when model supports grammar-guided generation
|