mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:00:43 +00:00
test(xai): accept nullable stream wrapper
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user