From dd3a6ca1f6556c7498a64f9957ba75fb2fdee2b8 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Fri, 13 Nov 2026 11:05:13 +0100 Subject: [PATCH] fix: a saved chat opened in a tab beside a temporary chat cannot be rated (#34212) With a temporary chat in the main view, a saved chat opened in a tab beside it was treated as temporary too, so its answers showed no Good Response and Bad Response buttons. The saved chat in the tab can now be rated, while a temporary chat, in the main view or in a tab, still offers none. Fixes #34211 --- src/lib/components/chat/Messages/ResponseMessage.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index fac47814cd..45607c360c 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -27,7 +27,6 @@ config, models, settings, - temporaryChatEnabled, TTSWorker, user, visibleControls @@ -1353,7 +1352,7 @@ {/if} {#if (!readOnly && (!message.user_id || message.user_id === $user?.id)) || (writeAccess && message.user_id === $user?.id)} - {#if !readOnly && !$temporaryChatEnabled && !isTemporaryChatId(chatId) && ($config?.features.enable_message_rating ?? true) && ($user?.role === 'admin' || ($user?.permissions?.chat?.rate_response ?? true))} + {#if !readOnly && !isTemporaryChatId(chatId) && ($config?.features.enable_message_rating ?? true) && ($user?.role === 'admin' || ($user?.permissions?.chat?.rate_response ?? true))}