mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-26 16:01:09 +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;
|
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(() => {
|
useEffect(() => {
|
||||||
if (!loadedIdSessionRef.current && !currentPersonaId) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const personaDefault = getLLMProviderOverrideForPersona(
|
const personaDefault = getLLMProviderOverrideForPersona(
|
||||||
liveAssistant,
|
liveAssistant,
|
||||||
llmProviders
|
llmProviders
|
||||||
|
Loading…
x
Reference in New Issue
Block a user