mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-05 06:35:15 +00:00
UI: Add an enable_thinking option to enable/disable Qwen3 thinking
This commit is contained in:
parent
1ee0acc852
commit
d10bded7f8
7 changed files with 52 additions and 11 deletions
|
|
@ -42,6 +42,7 @@ class GenerationOptions(BaseModel):
|
|||
auto_max_new_tokens: bool = False
|
||||
ban_eos_token: bool = False
|
||||
add_bos_token: bool = True
|
||||
enable_thinking: bool = True
|
||||
skip_special_tokens: bool = True
|
||||
static_cache: bool = False
|
||||
truncation_length: int = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue