mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-03 02:23:51 +00:00
fix: save the context compaction threshold from general settings (#30270)
This commit is contained in:
parent
402a187e82
commit
b256115fa2
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,7 @@
|
|||
// Advanced
|
||||
stream_response: null,
|
||||
stream_delta_chunk_size: null,
|
||||
compact_token_threshold: null,
|
||||
function_calling: null,
|
||||
reasoning_tags: null,
|
||||
seed: null,
|
||||
|
|
@ -83,6 +84,8 @@
|
|||
stream_response: params.stream_response !== null ? params.stream_response : undefined,
|
||||
stream_delta_chunk_size:
|
||||
params.stream_delta_chunk_size !== null ? params.stream_delta_chunk_size : undefined,
|
||||
compact_token_threshold:
|
||||
params.compact_token_threshold !== null ? params.compact_token_threshold : 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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue