@ai-sdk/xai 5.0.3 → 5.0.5
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 +15 -0
- package/README.md +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/docs/01-xai.mdx +17 -17
- package/package.json +2 -2
- package/src/responses/xai-responses-language-model-options.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @ai-sdk/xai
|
|
2
2
|
|
|
3
|
+
## 5.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7cf7cee: feat(xai): add grok 4.7 model ID
|
|
8
|
+
|
|
9
|
+
## 5.0.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [2973485]
|
|
14
|
+
- Updated dependencies [a4db5ea]
|
|
15
|
+
- Updated dependencies [2937ea2]
|
|
16
|
+
- @ai-sdk/provider-utils@5.0.45
|
|
17
|
+
|
|
3
18
|
## 5.0.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare const xaiFilePartProviderOptions: z.ZodObject<{
|
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
type XaiFilePartProviderOptions = z.infer<typeof xaiFilePartProviderOptions>;
|
|
29
29
|
|
|
30
|
-
type XaiResponsesModelId = 'grok-4.20-non-reasoning' | 'grok-4.20-reasoning' | 'grok-4.3' | 'grok-4.5' | 'grok-4.6' | 'grok-latest' | (string & {});
|
|
30
|
+
type XaiResponsesModelId = 'grok-4.20-non-reasoning' | 'grok-4.20-reasoning' | 'grok-4.3' | 'grok-4.5' | 'grok-4.6' | 'grok-4.7' | 'grok-latest' | (string & {});
|
|
31
31
|
/**
|
|
32
32
|
* @see https://docs.x.ai/docs/api-reference#create-new-response
|
|
33
33
|
*/
|