@ai-sdk/xai 3.0.64 → 3.0.65
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 +6 -0
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/responses/xai-responses-api.ts +1 -0
- package/src/responses/xai-responses-prepare-tools.ts +1 -0
- package/src/xai-prepare-tools.ts +3 -0
package/dist/index.mjs
CHANGED
|
@@ -319,7 +319,8 @@ function prepareTools({
|
|
|
319
319
|
function: {
|
|
320
320
|
name: tool.name,
|
|
321
321
|
description: tool.description,
|
|
322
|
-
parameters: tool.inputSchema
|
|
322
|
+
parameters: tool.inputSchema,
|
|
323
|
+
...tool.strict != null ? { strict: tool.strict } : {}
|
|
323
324
|
}
|
|
324
325
|
});
|
|
325
326
|
}
|
|
@@ -1922,7 +1923,8 @@ async function prepareResponsesTools({
|
|
|
1922
1923
|
type: "function",
|
|
1923
1924
|
name: tool.name,
|
|
1924
1925
|
description: tool.description,
|
|
1925
|
-
parameters: tool.inputSchema
|
|
1926
|
+
parameters: tool.inputSchema,
|
|
1927
|
+
...tool.strict != null ? { strict: tool.strict } : {}
|
|
1926
1928
|
});
|
|
1927
1929
|
}
|
|
1928
1930
|
}
|
|
@@ -2725,7 +2727,7 @@ var xaiTools = {
|
|
|
2725
2727
|
};
|
|
2726
2728
|
|
|
2727
2729
|
// src/version.ts
|
|
2728
|
-
var VERSION = true ? "3.0.
|
|
2730
|
+
var VERSION = true ? "3.0.65" : "0.0.0-test";
|
|
2729
2731
|
|
|
2730
2732
|
// src/xai-video-model.ts
|
|
2731
2733
|
import {
|