From b256115fa2af8e0c658c24a37db95b65a9b12557 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Mon, 21 Sep 2026 00:42:22 -0400 Subject: [PATCH] fix: save the context compaction threshold from general settings (#30270) --- src/lib/components/chat/Settings/General.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/components/chat/Settings/General.svelte b/src/lib/components/chat/Settings/General.svelte index 86d7d6d4c4..e240a3b6cd 100644 --- a/src/lib/components/chat/Settings/General.svelte +++ b/src/lib/components/chat/Settings/General.svelte @@ -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,