ai 6.0.0-beta.132 → 6.0.0-beta.133

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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.0-beta.133
4
+
5
+ ### Patch Changes
6
+
7
+ - dce03c4: feat: tool input examples
8
+ - Updated dependencies [dce03c4]
9
+ - @ai-sdk/provider-utils@4.0.0-beta.43
10
+ - @ai-sdk/provider@3.0.0-beta.24
11
+ - @ai-sdk/gateway@2.0.0-beta.72
12
+
3
13
  ## 6.0.0-beta.132
4
14
 
5
15
  ### Patch Changes
package/dist/index.js CHANGED
@@ -908,7 +908,7 @@ function detectMediaType({
908
908
  var import_provider_utils2 = require("@ai-sdk/provider-utils");
909
909
 
910
910
  // src/version.ts
911
- var VERSION = true ? "6.0.0-beta.132" : "0.0.0-test";
911
+ var VERSION = true ? "6.0.0-beta.133" : "0.0.0-test";
912
912
 
913
913
  // src/util/download/download.ts
914
914
  var download = async ({ url }) => {
@@ -1462,6 +1462,7 @@ async function prepareToolsAndToolChoice({
1462
1462
  name: name15,
1463
1463
  description: tool2.description,
1464
1464
  inputSchema: await (0, import_provider_utils5.asSchema)(tool2.inputSchema).jsonSchema,
1465
+ ...tool2.inputExamples != null ? { inputExamples: tool2.inputExamples } : {},
1465
1466
  providerOptions: tool2.providerOptions,
1466
1467
  ...tool2.strict != null ? { strict: tool2.strict } : {}
1467
1468
  });