add pro search disable

This commit is contained in:
pablodanswer
2025-02-02 17:54:42 -08:00
committed by Evan Lohn
parent 9a3ce504bc
commit c984c6c7f2
8 changed files with 41 additions and 10 deletions

View File

@@ -1327,7 +1327,8 @@ export function ChatPage({
systemPromptOverride:
searchParams.get(SEARCH_PARAM_NAMES.SYSTEM_PROMPT) || undefined,
useExistingUserMessage: isSeededChat,
useLanggraph: proSearchEnabled,
useLanggraph:
!settings?.settings.pro_search_disabled && proSearchEnabled,
});
const delay = (ms: number) => {