Skip to content

Commit

Permalink
minor clarity (#3116)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx authored Nov 14, 2024
1 parent facf1d5 commit 6e91964
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/src/app/chat/ChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e91964

Please sign in to comment.