@ai-sdk/xai 2.0.67 → 2.0.69

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,23 @@
1
1
  # @ai-sdk/xai
2
2
 
3
+ ## 2.0.69
4
+
5
+ ### Patch Changes
6
+
7
+ - 0a00b9b: trigger release for all packages after provenance setup
8
+ - Updated dependencies [0a00b9b]
9
+ - @ai-sdk/openai-compatible@1.0.37
10
+ - @ai-sdk/provider@2.0.2
11
+ - @ai-sdk/provider-utils@3.0.24
12
+
13
+ ## 2.0.68
14
+
15
+ ### Patch Changes
16
+
17
+ - 5543cd1: Add AI Gateway hint to provider READMEs
18
+ - Updated dependencies [5543cd1]
19
+ - @ai-sdk/openai-compatible@1.0.36
20
+
3
21
  ## 2.0.67
4
22
 
5
23
  ### 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
@@ -2347,7 +2347,7 @@ var xaiTools = {
2347
2347
  };
2348
2348
 
2349
2349
  // src/version.ts
2350
- var VERSION = true ? "2.0.67" : "0.0.0-test";
2350
+ var VERSION = true ? "2.0.69" : "0.0.0-test";
2351
2351
 
2352
2352
  // src/xai-provider.ts
2353
2353
  var xaiErrorStructure = {
package/dist/index.mjs CHANGED
@@ -2354,7 +2354,7 @@ var xaiTools = {
2354
2354
  };
2355
2355
 
2356
2356
  // src/version.ts
2357
- var VERSION = true ? "2.0.67" : "0.0.0-test";
2357
+ var VERSION = true ? "2.0.69" : "0.0.0-test";
2358
2358
 
2359
2359
  // src/xai-provider.ts
2360
2360
  var xaiErrorStructure = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/xai",
3
- "version": "2.0.67",
3
+ "version": "2.0.69",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -19,16 +19,16 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@ai-sdk/openai-compatible": "1.0.35",
23
- "@ai-sdk/provider": "2.0.1",
24
- "@ai-sdk/provider-utils": "3.0.23"
22
+ "@ai-sdk/openai-compatible": "1.0.37",
23
+ "@ai-sdk/provider": "2.0.2",
24
+ "@ai-sdk/provider-utils": "3.0.24"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "20.17.24",
28
28
  "tsup": "^8",
29
29
  "typescript": "5.8.3",
30
30
  "zod": "3.25.76",
31
- "@ai-sdk/test-server": "0.0.2",
31
+ "@ai-sdk/test-server": "0.0.3",
32
32
  "@vercel/ai-tsconfig": "0.0.0"
33
33
  },
34
34
  "peerDependencies": {
@@ -43,7 +43,8 @@
43
43
  "homepage": "https://ai-sdk.dev/docs",
44
44
  "repository": {
45
45
  "type": "git",
46
- "url": "git+https://github.com/vercel/ai.git"
46
+ "url": "https://github.com/vercel/ai",
47
+ "directory": "packages/xai"
47
48
  },
48
49
  "bugs": {
49
50
  "url": "https://github.com/vercel/ai/issues"