mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
Add a new 'Reasoning effort' UI element
This commit is contained in:
parent
6bb8212731
commit
498778b8ac
6 changed files with 13 additions and 2 deletions
|
|
@ -306,7 +306,8 @@ def generate_chat_prompt(user_input, state, **kwargs):
|
|||
builtin_tools=None,
|
||||
tools=state['tools'] if 'tools' in state else None,
|
||||
tools_in_user_message=False,
|
||||
add_generation_prompt=False
|
||||
add_generation_prompt=False,
|
||||
reasoning_effort=state.get('reasoning_effort', 'medium')
|
||||
)
|
||||
|
||||
chat_renderer = partial(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue