@ai-sdk/xai 3.0.6 → 3.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 +6 -0
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1433,11 +1433,9 @@ async function prepareResponsesTools({
|
|
|
1433
1433
|
} else {
|
|
1434
1434
|
xaiTools2.push({
|
|
1435
1435
|
type: "function",
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
parameters: tool.inputSchema
|
|
1440
|
-
}
|
|
1436
|
+
name: tool.name,
|
|
1437
|
+
description: tool.description,
|
|
1438
|
+
parameters: tool.inputSchema
|
|
1441
1439
|
});
|
|
1442
1440
|
}
|
|
1443
1441
|
}
|
|
@@ -2046,7 +2044,7 @@ var xaiTools = {
|
|
|
2046
2044
|
};
|
|
2047
2045
|
|
|
2048
2046
|
// src/version.ts
|
|
2049
|
-
var VERSION = true ? "3.0.
|
|
2047
|
+
var VERSION = true ? "3.0.7" : "0.0.0-test";
|
|
2050
2048
|
|
|
2051
2049
|
// src/xai-provider.ts
|
|
2052
2050
|
var xaiErrorStructure = {
|