@ai-sdk/xai 4.0.29 → 4.0.31

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,26 @@
1
1
  # @ai-sdk/xai
2
2
 
3
+ ## 4.0.31
4
+
5
+ ### Patch Changes
6
+
7
+ - 2b1068f: chore(xai): drop the unused `@ai-sdk/openai-compatible` dependency
8
+
9
+ This provider was originally built on the shared openai-compatible model and
10
+ has since been rewritten to implement its own, with its own tool preparation,
11
+ finish-reason mapping and response metadata helpers. Nothing in the package
12
+ imports `@ai-sdk/openai-compatible` any more, but the dependency and the
13
+ TypeScript project reference to it were both left behind. No runtime change.
14
+
15
+ ## 4.0.30
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [3469d0c]
20
+ - @ai-sdk/provider@4.0.6
21
+ - @ai-sdk/openai-compatible@3.0.25
22
+ - @ai-sdk/provider-utils@5.0.23
23
+
3
24
  ## 4.0.29
4
25
 
5
26
  ### Patch Changes
package/dist/index.js CHANGED
@@ -3510,7 +3510,7 @@ var xaiTools = {
3510
3510
  };
3511
3511
 
3512
3512
  // src/version.ts
3513
- var VERSION = true ? "4.0.29" : "0.0.0-test";
3513
+ var VERSION = true ? "4.0.31" : "0.0.0-test";
3514
3514
 
3515
3515
  // src/files/xai-files.ts
3516
3516
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/xai",
3
- "version": "4.0.29",
3
+ "version": "4.0.31",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -29,9 +29,8 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "3.0.24",
33
- "@ai-sdk/provider": "4.0.5",
34
- "@ai-sdk/provider-utils": "5.0.22"
32
+ "@ai-sdk/provider": "4.0.6",
33
+ "@ai-sdk/provider-utils": "5.0.23"
35
34
  },
36
35
  "devDependencies": {
37
36
  "@types/node": "22.19.19",