From 6e919649248670c8ff038356b81c271140a63169 Mon Sep 17 00:00:00 2001 From: pablodanswer Date: Wed, 13 Nov 2024 17:42:21 -0800 Subject: [PATCH] minor clarity (#3116) --- web/src/app/chat/ChatPage.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index f4f00692c1..3e4354a8ce 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -267,11 +267,8 @@ export function ChatPage({ const noAssistants = liveAssistant == null || liveAssistant == undefined; + // always set the model override for the chat session, when an assistant, llm provider, or user preference exists useEffect(() => { - if (!loadedIdSessionRef.current && !currentPersonaId) { - return; - } - const personaDefault = getLLMProviderOverrideForPersona( liveAssistant, llmProviders