@ai-sdk/xai 3.0.45 → 3.0.47

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,21 @@
1
1
  # @ai-sdk/xai
2
2
 
3
+ ## 3.0.47
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9e490ad]
8
+ - @ai-sdk/openai-compatible@2.0.27
9
+
10
+ ## 3.0.46
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [53f6731]
15
+ - @ai-sdk/provider@3.0.7
16
+ - @ai-sdk/openai-compatible@2.0.26
17
+ - @ai-sdk/provider-utils@4.0.13
18
+
3
19
  ## 3.0.45
4
20
 
5
21
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2447,7 +2447,7 @@ var xaiTools = {
2447
2447
  };
2448
2448
 
2449
2449
  // src/version.ts
2450
- var VERSION = true ? "3.0.45" : "0.0.0-test";
2450
+ var VERSION = true ? "3.0.47" : "0.0.0-test";
2451
2451
 
2452
2452
  // src/xai-provider.ts
2453
2453
  var xaiErrorStructure = {
package/dist/index.mjs CHANGED
@@ -2461,7 +2461,7 @@ var xaiTools = {
2461
2461
  };
2462
2462
 
2463
2463
  // src/version.ts
2464
- var VERSION = true ? "3.0.45" : "0.0.0-test";
2464
+ var VERSION = true ? "3.0.47" : "0.0.0-test";
2465
2465
 
2466
2466
  // src/xai-provider.ts
2467
2467
  var xaiErrorStructure = {
package/docs/01-xai.mdx CHANGED
@@ -374,7 +374,7 @@ const result = streamText({
374
374
 
375
375
  #### Provider Options for File Search
376
376
 
377
- - **include** _Array<'file_search_call.results'>_
377
+ - **include** _Array&lt;'file_search_call.results'&gt;_
378
378
 
379
379
  Include file search results in the response. When set to `['file_search_call.results']`, the response will contain the actual search results with file content and scores.
380
380
 
@@ -443,7 +443,7 @@ The following provider options are available:
443
443
 
444
444
  Control the reasoning effort for the model. Higher effort may produce more thorough results at the cost of increased latency and token usage.
445
445
 
446
- - **include** _Array<'file_search_call.results'>_
446
+ - **include** _Array&lt;'file_search_call.results'&gt;_
447
447
 
448
448
  Specify additional output data to include in the model response. Use `['file_search_call.results']` to include file search results with scores and content.
449
449
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/xai",
3
- "version": "3.0.45",
3
+ "version": "3.0.47",
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": "2.0.25",
33
- "@ai-sdk/provider": "3.0.6",
34
- "@ai-sdk/provider-utils": "4.0.12"
32
+ "@ai-sdk/openai-compatible": "2.0.27",
33
+ "@ai-sdk/provider": "3.0.7",
34
+ "@ai-sdk/provider-utils": "4.0.13"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "20.17.24",