mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
Disable start_with when generating the websearch query
This commit is contained in:
parent
97a539cab6
commit
88c0204357
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue