webui : send both backend_sampling == false/true

This commit is contained in:
Georgi Gerganov
2026-01-12 15:19:23 +02:00
parent 4150da9a95
commit c1c42f1544
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@@ -1461,8 +1461,7 @@ class ChatStore {
if (hasValue(currentConfig.dry_penalty_last_n))
apiOptions.dry_penalty_last_n = Number(currentConfig.dry_penalty_last_n);
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;
return apiOptions;