mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-26 00:47:42 +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();
|
resetChatState();
|
||||||
printMessages();
|
printMessages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await eventSource.emit(event_types.CHAT_CHANGED, getCurrentChatId());
|
||||||
}
|
}
|
||||||
|
|
||||||
function messageFormatting(mes, ch_name, isSystem, isUser) {
|
function messageFormatting(mes, ch_name, isSystem, isUser) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user