mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-25 23:40:58 +02:00
minor clarity (#3116)
This commit is contained in:
parent
facf1d55a0
commit
6e91964924
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user