ai 4.0.33 → 4.0.34

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