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