mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-17 12:40:40 +01:00
Emit event after chat reloading
This commit is contained in:
parent
500eae40e2
commit
c0d3dd54a7
@ -1128,6 +1128,8 @@ export async function reloadCurrentChat() {
|
||||
resetChatState();
|
||||
printMessages();
|
||||
}
|
||||
|
||||
await eventSource.emit(event_types.CHAT_CHANGED, getCurrentChatId());
|
||||
}
|
||||
|
||||
function messageFormatting(mes, ch_name, isSystem, isUser) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user