Gateway: normalize OpenAI stream chunk text

This commit is contained in:
Vincent Koc 2026-03-06 01:04:48 -05:00
parent 726ef48c2a
commit 9dab154519
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ export async function handleOpenAiHttpRequest(
}
if (evt.stream === "assistant") {
const content = resolveAssistantStreamDeltaText(evt);
const content = resolveAssistantStreamDeltaText(evt) ?? "";
if (!content) {
return;
}