@ai-sdk/xai 3.0.101 → 3.0.103
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 +17 -0
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/responses/xai-responses-language-model.ts +9 -0
package/dist/index.mjs
CHANGED
|
@@ -2717,6 +2717,14 @@ var XaiResponsesLanguageModel = class {
|
|
|
2717
2717
|
providerExecuted: true
|
|
2718
2718
|
});
|
|
2719
2719
|
}
|
|
2720
|
+
if (event.type === "response.output_item.done") {
|
|
2721
|
+
controller.enqueue({
|
|
2722
|
+
type: "tool-result",
|
|
2723
|
+
toolCallId: part.id,
|
|
2724
|
+
toolName,
|
|
2725
|
+
result: {}
|
|
2726
|
+
});
|
|
2727
|
+
}
|
|
2720
2728
|
return;
|
|
2721
2729
|
}
|
|
2722
2730
|
if (part.type === "message") {
|
|
@@ -2864,7 +2872,7 @@ var xaiTools = {
|
|
|
2864
2872
|
};
|
|
2865
2873
|
|
|
2866
2874
|
// src/version.ts
|
|
2867
|
-
var VERSION = true ? "3.0.
|
|
2875
|
+
var VERSION = true ? "3.0.103" : "0.0.0-test";
|
|
2868
2876
|
|
|
2869
2877
|
// src/xai-video-model.ts
|
|
2870
2878
|
import {
|