From 88c020435716ebe4453f1b393cc7b3fc72dbf231 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 16 Jun 2025 14:53:05 -0700 Subject: [PATCH] Disable start_with when generating the websearch query --- modules/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/chat.py b/modules/chat.py index 81e7b16a..6b7722b7 100644 --- a/modules/chat.py +++ b/modules/chat.py @@ -614,6 +614,7 @@ def generate_search_query(user_message, state): search_state['max_new_tokens'] = 64 search_state['auto_max_new_tokens'] = False search_state['enable_thinking'] = False + search_state['start_with'] = "" # Generate the full prompt using existing history + augmented message formatted_prompt = generate_chat_prompt(augmented_message, search_state)