mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 05:35:03 +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