@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 +16 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/01-xai.mdx +2 -2
- package/package.json +4 -4
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
package/dist/index.mjs
CHANGED
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
|
|
377
|
+
- **include** _Array<'file_search_call.results'>_
|
|
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
|
|
446
|
+
- **include** _Array<'file_search_call.results'>_
|
|
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.
|
|
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.
|
|
33
|
-
"@ai-sdk/provider": "3.0.
|
|
34
|
-
"@ai-sdk/provider-utils": "4.0.
|
|
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",
|