ai 4.0.39 → 4.0.41

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/dist/index.mjs CHANGED
@@ -1905,7 +1905,7 @@ var arrayOutputStrategy = (schema) => {
1905
1905
  // be able to generate an array directly:
1906
1906
  // possible future optimization: use arrays directly when model supports grammar-guided generation
1907
1907
  jsonSchema: {
1908
- $schema: "https://json-schema.org/draft/2019-09/schema#",
1908
+ $schema: "http://json-schema.org/draft-07/schema#",
1909
1909
  type: "object",
1910
1910
  properties: {
1911
1911
  elements: { type: "array", items: itemSchema }
@@ -2017,7 +2017,7 @@ var enumOutputStrategy = (enumValues) => {
2017
2017
  // be able to generate an enum value directly:
2018
2018
  // possible future optimization: use enums directly when model supports top-level enums
2019
2019
  jsonSchema: {
2020
- $schema: "https://json-schema.org/draft/2019-09/schema#",
2020
+ $schema: "http://json-schema.org/draft-07/schema#",
2021
2021
  type: "object",
2022
2022
  properties: {
2023
2023
  result: { type: "string", enum: enumValues }