@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/dist/index.mjs
CHANGED
|
@@ -990,6 +990,16 @@ var xaiResponsesChunkSchema = z4.union([
|
|
|
990
990
|
item_id: z4.string(),
|
|
991
991
|
output_index: z4.number()
|
|
992
992
|
}),
|
|
993
|
+
z4.object({
|
|
994
|
+
type: z4.literal("response.custom_tool_call_input.done"),
|
|
995
|
+
item_id: z4.string(),
|
|
996
|
+
output_index: z4.number()
|
|
997
|
+
}),
|
|
998
|
+
z4.object({
|
|
999
|
+
type: z4.literal("response.custom_tool_call_input.delta"),
|
|
1000
|
+
item_id: z4.string(),
|
|
1001
|
+
output_index: z4.number()
|
|
1002
|
+
}),
|
|
993
1003
|
z4.object({
|
|
994
1004
|
type: z4.literal("response.code_execution_call.in_progress"),
|
|
995
1005
|
item_id: z4.string(),
|
|
@@ -2014,7 +2024,7 @@ var xaiTools = {
|
|
|
2014
2024
|
};
|
|
2015
2025
|
|
|
2016
2026
|
// src/version.ts
|
|
2017
|
-
var VERSION = true ? "2.0.
|
|
2027
|
+
var VERSION = true ? "2.0.47" : "0.0.0-test";
|
|
2018
2028
|
|
|
2019
2029
|
// src/xai-provider.ts
|
|
2020
2030
|
var xaiErrorStructure = {
|