diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 716f533e8..870edfbd0 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -427,7 +427,16 @@ if (tags) { updatedMessage.annotation.tags = tags; + feedbackItem.data.tags = tags; + dispatch('save', updatedMessage); + await updateFeedbackById( + localStorage.token, + updatedMessage.feedbackId, + feedbackItem + ).catch((error) => { + toast.error(error); + }); } } }