mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-06 13:43:49 +01:00
Disable start_with when generating the websearch query
This commit is contained in:
parent
97a539cab6
commit
88c0204357
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue