Change default history_turns from 3 to 0 in settings store of webui

This commit is contained in:
yangdx 2025-07-24 16:47:54 +08:00
parent 44b7ce222e
commit 33d986aa2a

View file

@ -118,7 +118,7 @@ const useSettingsStoreBase = create<SettingsState>()(
only_need_context: false, only_need_context: false,
only_need_prompt: false, only_need_prompt: false,
stream: true, stream: true,
history_turns: 3, history_turns: 0,
user_prompt: '', user_prompt: '',
enable_rerank: true enable_rerank: true
}, },
@ -221,7 +221,7 @@ const useSettingsStoreBase = create<SettingsState>()(
only_need_context: false, only_need_context: false,
only_need_prompt: false, only_need_prompt: false,
stream: true, stream: true,
history_turns: 3, history_turns: 0,
hl_keywords: [], hl_keywords: [],
ll_keywords: [] ll_keywords: []
} }