mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Properly stop group auto mode generation with stop button
This commit is contained in:
@ -424,6 +424,7 @@ export const event_types = {
|
||||
MESSAGE_DELETED: 'message_deleted',
|
||||
IMPERSONATE_READY: 'impersonate_ready',
|
||||
CHAT_CHANGED: 'chat_id_changed',
|
||||
GENERATION_STOPPED: 'generation_stopped',
|
||||
}
|
||||
|
||||
export const eventSource = new EventEmitter();
|
||||
@ -6707,6 +6708,7 @@ $(document).ready(function () {
|
||||
abortController.abort();
|
||||
hideStopButton();
|
||||
}
|
||||
eventSource.emit(event_types.GENERATION_STOPPED);
|
||||
});
|
||||
|
||||
$('.drawer-toggle').click(function () {
|
||||
|
Reference in New Issue
Block a user