Skip to content

Commit c1c42f1

Browse files
committed
webui : send both backend_sampling == false/true
1 parent 4150da9 commit c1c42f1

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

tools/server/public/index.html.gz

14 Bytes
Binary file not shown.

tools/server/webui/src/lib/stores/chat.svelte.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,8 +1461,7 @@ class ChatStore {
14611461
if (hasValue(currentConfig.dry_penalty_last_n))
14621462
apiOptions.dry_penalty_last_n = Number(currentConfig.dry_penalty_last_n);
14631463
if (currentConfig.samplers) apiOptions.samplers = currentConfig.samplers;
1464-
if (currentConfig.backend_sampling)
1465-
apiOptions.backend_sampling = currentConfig.backend_sampling;
1464+
apiOptions.backend_sampling = currentConfig.backend_sampling;
14661465
if (currentConfig.custom) apiOptions.custom = currentConfig.custom;
14671466

14681467
return apiOptions;

0 commit comments

Comments
 (0)