@ai-sdk/xai 2.0.46 → 2.0.47
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 +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -999,6 +999,16 @@ var xaiResponsesChunkSchema = import_v44.z.union([
|
|
|
999
999
|
item_id: import_v44.z.string(),
|
|
1000
1000
|
output_index: import_v44.z.number()
|
|
1001
1001
|
}),
|
|
1002
|
+
import_v44.z.object({
|
|
1003
|
+
type: import_v44.z.literal("response.custom_tool_call_input.done"),
|
|
1004
|
+
item_id: import_v44.z.string(),
|
|
1005
|
+
output_index: import_v44.z.number()
|
|
1006
|
+
}),
|
|
1007
|
+
import_v44.z.object({
|
|
1008
|
+
type: import_v44.z.literal("response.custom_tool_call_input.delta"),
|
|
1009
|
+
item_id: import_v44.z.string(),
|
|
1010
|
+
output_index: import_v44.z.number()
|
|
1011
|
+
}),
|
|
1002
1012
|
import_v44.z.object({
|
|
1003
1013
|
type: import_v44.z.literal("response.code_execution_call.in_progress"),
|
|
1004
1014
|
item_id: import_v44.z.string(),
|
|
@@ -2013,7 +2023,7 @@ var xaiTools = {
|
|
|
2013
2023
|
};
|
|
2014
2024
|
|
|
2015
2025
|
// src/version.ts
|
|
2016
|
-
var VERSION = true ? "2.0.
|
|
2026
|
+
var VERSION = true ? "2.0.47" : "0.0.0-test";
|
|
2017
2027
|
|
|
2018
2028
|
// src/xai-provider.ts
|
|
2019
2029
|
var xaiErrorStructure = {
|