mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +01:00
Emit message events on stream abortion
This commit is contained in:
parent
58238fe42b
commit
70450d7867
@ -3102,6 +3102,11 @@ class StreamingProcessor {
|
||||
this.hideMessageButtons(this.messageId);
|
||||
generatedPromptCache = '';
|
||||
unblockGeneration();
|
||||
|
||||
if (this.type !== 'swipe' && this.type !== 'impersonate') {
|
||||
eventSource.emit(event_types.MESSAGE_RECEIVED, this.messageId);
|
||||
eventSource.emit(event_types.CHARACTER_MESSAGE_RENDERED, this.messageId);
|
||||
}
|
||||
}
|
||||
|
||||
setFirstSwipe(messageId) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user