mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-11 03:38:02 +00:00
fix: switching a Chat Controls parameter back to Default ignores your Settings value (#32192)
When a parameter like Temperature was switched to Custom in Chat Controls and then back to Default, the value saved in Settings > General was dropped and the model used its built-in default instead. Default now uses the Settings value again, also in chats where this already happened. Fixes #32013
This commit is contained in:
parent
eebf6438ab
commit
c2a5c7a24e
1 changed files with 1 additions and 1 deletions
|
|
@ -4039,7 +4039,7 @@
|
|||
...(messages.length > 0 ? { messages } : {}),
|
||||
params: {
|
||||
...$settings?.params,
|
||||
...params,
|
||||
...Object.fromEntries(Object.entries(params).filter(([, value]) => value !== null)),
|
||||
model_controls: $settings?.params?.model_controls ?? {},
|
||||
stop: getStopTokens()
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue