@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 +8 -0
- package/dist/index.js +1 -1
- package/docs/00-ai-gateway.mdx +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
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.
|
|
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";
|
package/docs/00-ai-gateway.mdx
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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.
|
|
35
|
+
"@ai-sdk/provider-utils": "5.0.12"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "22.19.19",
|