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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user