Patch Azure text completion persistence (#647)

This commit is contained in:
Timothy Carambat 2024-01-24 13:08:22 -08:00 committed by GitHub
parent 171b1dd9aa
commit 8377600211
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ function handleStreamResponses(response, stream, responseProps) {
for (const choice of event.choices) {
const delta = choice.delta?.content;
if (!delta) continue;
fullText += delta;
writeResponseChunk(response, {
uuid,
sources: [],