@ai-sdk/xai 5.0.6 → 5.0.7
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 +10 -0
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/xai-video-model.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/xai",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ai-sdk/provider": "4.0.18",
|
|
33
|
-
"@ai-sdk/provider-utils": "5.0.
|
|
33
|
+
"@ai-sdk/provider-utils": "5.0.47"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@ai-sdk/test-server": "2.0.1",
|
package/src/xai-video-model.ts
CHANGED
|
@@ -140,8 +140,6 @@ function resolveReferences(
|
|
|
140
140
|
) {
|
|
141
141
|
return xaiOptions.referenceImageUrls.map(url => ({ url }));
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
return undefined;
|
|
145
143
|
}
|
|
146
144
|
|
|
147
145
|
// True when at least one reference would survive as an image.
|
|
@@ -178,8 +176,6 @@ function resolveVideoMode(
|
|
|
178
176
|
) {
|
|
179
177
|
return 'reference-to-video';
|
|
180
178
|
}
|
|
181
|
-
|
|
182
|
-
return undefined;
|
|
183
179
|
}
|
|
184
180
|
|
|
185
181
|
export class XaiVideoModel implements VideoModelV4 {
|