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…
Reference in New Issue