feat: add chat:message:favorite event for action functions (#20375)

* feat: add chat:message:favorite event for action functions

* Update Chat.svelte

* Update Chat.svelte
This commit is contained in:
G30
2026-01-05 09:15:00 -05:00
committed by GitHub
parent 00af37bb4e
commit 9c5773d0af

View File

@@ -390,6 +390,9 @@
if (autoScroll) {
scrollToBottom('smooth');
}
} else if (type === 'chat:message:favorite') {
// Update message favorite status
message.favorite = data.favorite;
} else if (type === 'chat:title') {
chatTitle.set(data);
currentChatPage.set(1);