@ai-sdk/xai 3.0.8 → 3.0.9
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
|
@@ -1187,6 +1187,16 @@ var xaiResponsesChunkSchema = z4.union([
|
|
|
1187
1187
|
item_id: z4.string(),
|
|
1188
1188
|
output_index: z4.number()
|
|
1189
1189
|
}),
|
|
1190
|
+
z4.object({
|
|
1191
|
+
type: z4.literal("response.custom_tool_call_input.done"),
|
|
1192
|
+
item_id: z4.string(),
|
|
1193
|
+
output_index: z4.number()
|
|
1194
|
+
}),
|
|
1195
|
+
z4.object({
|
|
1196
|
+
type: z4.literal("response.custom_tool_call_input.delta"),
|
|
1197
|
+
item_id: z4.string(),
|
|
1198
|
+
output_index: z4.number()
|
|
1199
|
+
}),
|
|
1190
1200
|
z4.object({
|
|
1191
1201
|
type: z4.literal("response.code_execution_call.in_progress"),
|
|
1192
1202
|
item_id: z4.string(),
|
|
@@ -2045,7 +2055,7 @@ var xaiTools = {
|
|
|
2045
2055
|
};
|
|
2046
2056
|
|
|
2047
2057
|
// src/version.ts
|
|
2048
|
-
var VERSION = true ? "3.0.
|
|
2058
|
+
var VERSION = true ? "3.0.9" : "0.0.0-test";
|
|
2049
2059
|
|
|
2050
2060
|
// src/xai-provider.ts
|
|
2051
2061
|
var xaiErrorStructure = {
|