Fix text display on stream abort

6ececb2cebcfd48659745eeb38145c61bb7a605d

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -3423,7 +3423,7 @@ class StreamingProcessor {
34233423 for await (const { text, swipes, logprobs, toolCalls, state } of this.generator()) {
34243424 timestamps.push(Date.now());
34253425 if (this.isStopped || this.abortController.signal.aborted) {
34263426 return this.result;
34273427 }
34283428
34293429 this.toolCalls = toolCalls;