mirror of
https://github.com/yuangyaa/openclaw.git
synced 2026-07-14 11:07:29 +08: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