mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
refac
This commit is contained in:
parent
5fe525b8e0
commit
6e030e892b
1 changed files with 5 additions and 1 deletions
|
|
@ -612,10 +612,14 @@
|
|||
|
||||
if (event.chat_id === $chatId) {
|
||||
await tick();
|
||||
const type = event?.data?.type ?? null;
|
||||
if (type === 'chat:reload') {
|
||||
await loadChat();
|
||||
return;
|
||||
}
|
||||
let message = history.messages[event.message_id];
|
||||
|
||||
if (message) {
|
||||
const type = event?.data?.type ?? null;
|
||||
const data = event?.data?.data ?? null;
|
||||
|
||||
if (type === 'status') {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue