@ai-sdk/xai 2.0.44 → 2.0.45
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/dist/index.mjs
CHANGED
|
@@ -1377,11 +1377,9 @@ async function prepareResponsesTools({
|
|
|
1377
1377
|
} else {
|
|
1378
1378
|
xaiTools2.push({
|
|
1379
1379
|
type: "function",
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
parameters: tool.inputSchema
|
|
1384
|
-
}
|
|
1380
|
+
name: tool.name,
|
|
1381
|
+
description: tool.description,
|
|
1382
|
+
parameters: tool.inputSchema
|
|
1385
1383
|
});
|
|
1386
1384
|
}
|
|
1387
1385
|
}
|
|
@@ -1998,7 +1996,7 @@ var xaiTools = {
|
|
|
1998
1996
|
};
|
|
1999
1997
|
|
|
2000
1998
|
// src/version.ts
|
|
2001
|
-
var VERSION = true ? "2.0.
|
|
1999
|
+
var VERSION = true ? "2.0.45" : "0.0.0-test";
|
|
2002
2000
|
|
|
2003
2001
|
// src/xai-provider.ts
|
|
2004
2002
|
var xaiErrorStructure = {
|