test(xai): accept nullable stream wrapper

This commit is contained in:
Peter Steinberger
2026-04-20 21:50:54 +01:00
parent 2f4cf2d67d
commit 5927eb73ec

View File

@@ -49,7 +49,7 @@ export function createXaiPayloadCaptureStream() {
};
}
export function runXaiGrok4ResponseStream(streamFn: StreamFn | undefined) {
export function runXaiGrok4ResponseStream(streamFn: StreamFn | null | undefined) {
void streamFn?.(
{
api: "openai-responses",