webui : send both backend_sampling == false/true (#18781)

* webui : send both backend_sampling == false/true

* feat: Parameter sync

---------

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
This commit is contained in:
Georgi Gerganov
2026-04-08 17:35:52 +03:00
committed by GitHub
parent e9fd96283d
commit 4a05e0c566
4 changed files with 27 additions and 22 deletions
@@ -1610,8 +1610,7 @@ class ChatStore {
if (currentConfig.samplers) apiOptions.samplers = currentConfig.samplers;
if (currentConfig.backend_sampling)
apiOptions.backend_sampling = currentConfig.backend_sampling;
apiOptions.backend_sampling = currentConfig.backend_sampling;
if (currentConfig.custom) apiOptions.custom = currentConfig.custom;