mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix text display on stream abort
This commit is contained in:
@ -3423,7 +3423,7 @@ class StreamingProcessor {
|
||||
for await (const { text, swipes, logprobs, toolCalls, state } of this.generator()) {
|
||||
timestamps.push(Date.now());
|
||||
if (this.isStopped || this.abortController.signal.aborted) {
|
||||
return;
|
||||
return this.result;
|
||||
}
|
||||
|
||||
this.toolCalls = toolCalls;
|
||||
|
Reference in New Issue
Block a user