@ai-sdk/xai 4.0.6 → 4.0.7
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/package.json
CHANGED
|
@@ -956,6 +956,15 @@ export class XaiResponsesLanguageModel implements LanguageModelV4 {
|
|
|
956
956
|
});
|
|
957
957
|
}
|
|
958
958
|
|
|
959
|
+
if (event.type === 'response.output_item.done') {
|
|
960
|
+
controller.enqueue({
|
|
961
|
+
type: 'tool-result',
|
|
962
|
+
toolCallId: part.id,
|
|
963
|
+
toolName,
|
|
964
|
+
result: {},
|
|
965
|
+
});
|
|
966
|
+
}
|
|
967
|
+
|
|
959
968
|
return;
|
|
960
969
|
}
|
|
961
970
|
|