fix(ui): include reasoning_tags in user settings advanced params save handler (#25204)
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
stream_response: null,
|
||||
stream_delta_chunk_size: null,
|
||||
function_calling: null,
|
||||
reasoning_tags: null,
|
||||
seed: null,
|
||||
temperature: null,
|
||||
reasoning_effort: null,
|
||||
@@ -64,7 +65,13 @@
|
||||
num_batch: null,
|
||||
num_keep: null,
|
||||
max_tokens: null,
|
||||
num_gpu: null
|
||||
use_mmap: null,
|
||||
use_mlock: null,
|
||||
num_thread: null,
|
||||
num_gpu: null,
|
||||
think: null,
|
||||
format: null,
|
||||
keep_alive: null
|
||||
};
|
||||
|
||||
const saveHandler = async () => {
|
||||
@@ -75,6 +82,7 @@
|
||||
stream_delta_chunk_size:
|
||||
params.stream_delta_chunk_size !== null ? params.stream_delta_chunk_size : undefined,
|
||||
function_calling: params.function_calling !== null ? params.function_calling : undefined,
|
||||
reasoning_tags: params.reasoning_tags !== null ? params.reasoning_tags : undefined,
|
||||
seed: (params.seed !== null ? params.seed : undefined) ?? undefined,
|
||||
stop: params.stop ? params.stop.split(',').filter((e) => e) : undefined,
|
||||
temperature: params.temperature !== null ? params.temperature : undefined,
|
||||
|
||||
Reference in New Issue
Block a user