Patch Azure text completion persistence (#647)
This commit is contained in:
parent
171b1dd9aa
commit
8377600211
|
@ -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: [],
|
||||
|
|
Loading…
Reference in New Issue