@ai-sdk/xai 3.0.79 → 3.0.80

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/xai
2
2
 
3
+ ## 3.0.80
4
+
5
+ ### Patch Changes
6
+
7
+ - d42076d: Add AI Gateway hint to provider READMEs
8
+ - Updated dependencies [d42076d]
9
+ - @ai-sdk/openai-compatible@2.0.41
10
+
3
11
  ## 3.0.79
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  The **[xAI Grok provider](https://ai-sdk.dev/providers/ai-sdk-providers/xai)** for the [AI SDK](https://ai-sdk.dev/docs)
4
4
  contains language model support for the xAI chat and completion APIs.
5
5
 
6
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access xAI (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
7
+
6
8
  ## Setup
7
9
 
8
10
  The xAI Grok provider is available in the `@ai-sdk/xai` module. You can install it with
package/dist/index.js CHANGED
@@ -2719,7 +2719,7 @@ var xaiTools = {
2719
2719
  };
2720
2720
 
2721
2721
  // src/version.ts
2722
- var VERSION = true ? "3.0.79" : "0.0.0-test";
2722
+ var VERSION = true ? "3.0.80" : "0.0.0-test";
2723
2723
 
2724
2724
  // src/xai-video-model.ts
2725
2725
  var import_provider6 = require("@ai-sdk/provider");
package/dist/index.mjs CHANGED
@@ -2740,7 +2740,7 @@ var xaiTools = {
2740
2740
  };
2741
2741
 
2742
2742
  // src/version.ts
2743
- var VERSION = true ? "3.0.79" : "0.0.0-test";
2743
+ var VERSION = true ? "3.0.80" : "0.0.0-test";
2744
2744
 
2745
2745
  // src/xai-video-model.ts
2746
2746
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/xai",
3
- "version": "3.0.79",
3
+ "version": "3.0.80",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -29,17 +29,17 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "2.0.40",
33
32
  "@ai-sdk/provider": "3.0.8",
34
- "@ai-sdk/provider-utils": "4.0.23"
33
+ "@ai-sdk/provider-utils": "4.0.23",
34
+ "@ai-sdk/openai-compatible": "2.0.41"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "20.17.24",
38
38
  "tsup": "^8",
39
39
  "typescript": "5.8.3",
40
40
  "zod": "3.25.76",
41
- "@ai-sdk/test-server": "1.0.3",
42
- "@vercel/ai-tsconfig": "0.0.0"
41
+ "@vercel/ai-tsconfig": "0.0.0",
42
+ "@ai-sdk/test-server": "1.0.3"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "zod": "^3.25.76 || ^4.1.8"