minor clarity (#3116)

This commit is contained in:
pablodanswer 2024-11-13 17:42:21 -08:00 committed by GitHub
parent facf1d55a0
commit 6e91964924
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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