Stop smooth streaming immediately on abort

9710d88a88a7cd02ad68cdcdc1cc857d2db154f0

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

1 files changed, +1 -1Ignore whitespace
public/script.js+1 -1
@@ -3365,7 +3365,7 @@ class StreamingProcessor {
33653365 const timestamps = [];
33663366 for await (const { text, swipes, logprobs, toolCalls, state } of this.generator()) {
33673367 timestamps.push(Date.now());
33683368 if (this.isStopped || this.abortController.signal.aborted) {
33693369 return;
33703370 }
33713371