@ai-sdk/xai 4.0.0-beta.20 → 4.0.0-beta.21

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
+ ## 4.0.0-beta.21
4
+
5
+ ### Patch Changes
6
+
7
+ - 38fc777: Add AI Gateway hint to provider READMEs
8
+ - Updated dependencies [38fc777]
9
+ - @ai-sdk/openai-compatible@3.0.0-beta.13
10
+
3
11
  ## 4.0.0-beta.20
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
@@ -2753,7 +2753,7 @@ var xaiTools = {
2753
2753
  };
2754
2754
 
2755
2755
  // src/version.ts
2756
- var VERSION = true ? "4.0.0-beta.20" : "0.0.0-test";
2756
+ var VERSION = true ? "4.0.0-beta.21" : "0.0.0-test";
2757
2757
 
2758
2758
  // src/xai-video-model.ts
2759
2759
  var import_provider6 = require("@ai-sdk/provider");
package/dist/index.mjs CHANGED
@@ -2778,7 +2778,7 @@ var xaiTools = {
2778
2778
  };
2779
2779
 
2780
2780
  // src/version.ts
2781
- var VERSION = true ? "4.0.0-beta.20" : "0.0.0-test";
2781
+ var VERSION = true ? "4.0.0-beta.21" : "0.0.0-test";
2782
2782
 
2783
2783
  // src/xai-video-model.ts
2784
2784
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/xai",
3
- "version": "4.0.0-beta.20",
3
+ "version": "4.0.0-beta.21",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -29,9 +29,9 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "3.0.0-beta.12",
33
- "@ai-sdk/provider-utils": "5.0.0-beta.9",
34
- "@ai-sdk/provider": "4.0.0-beta.5"
32
+ "@ai-sdk/openai-compatible": "3.0.0-beta.13",
33
+ "@ai-sdk/provider": "4.0.0-beta.5",
34
+ "@ai-sdk/provider-utils": "5.0.0-beta.9"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "20.17.24",