@ai-sdk/gateway 4.0.24 → 4.0.25

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,13 @@
1
1
  # @ai-sdk/gateway
2
2
 
3
+ ## 4.0.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [02ffdcb]
8
+ - Updated dependencies [76cb673]
9
+ - @ai-sdk/provider-utils@5.0.12
10
+
3
11
  ## 4.0.24
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2631,7 +2631,7 @@ async function getVercelRequestId() {
2631
2631
  }
2632
2632
 
2633
2633
  // src/version.ts
2634
- var VERSION = true ? "4.0.24" : "0.0.0-test";
2634
+ var VERSION = true ? "4.0.25" : "0.0.0-test";
2635
2635
 
2636
2636
  // src/gateway-provider.ts
2637
2637
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
@@ -511,7 +511,7 @@ const { text } = await generateText({
511
511
  tools: {
512
512
  getWeather: tool({
513
513
  description: 'Get the current weather for a location',
514
- parameters: z.object({
514
+ inputSchema: z.object({
515
515
  location: z.string().describe('The location to get weather for'),
516
516
  }),
517
517
  execute: async ({ location }) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ai-sdk/gateway",
3
3
  "private": false,
4
- "version": "4.0.24",
4
+ "version": "4.0.25",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "sideEffects": false,
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "@vercel/oidc": "3.2.0",
34
34
  "@ai-sdk/provider": "4.0.3",
35
- "@ai-sdk/provider-utils": "5.0.11"
35
+ "@ai-sdk/provider-utils": "5.0.12"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "22.19.19",