mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-14 12:08:33 +00:00
Gateway: normalize OpenAI stream chunk text
This commit is contained in:
@@ -526,7 +526,7 @@ export async function handleOpenAiHttpRequest(
|
||||
}
|
||||
|
||||
if (evt.stream === "assistant") {
|
||||
const content = resolveAssistantStreamDeltaText(evt);
|
||||
const content = resolveAssistantStreamDeltaText(evt) ?? "";
|
||||
if (!content) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user