From bff6a5f226c5b32e95f3d70f8a0d3abc3c6abe63 Mon Sep 17 00:00:00 2001 From: AC Date: Wed, 11 Jun 2025 16:57:47 +0800 Subject: [PATCH] Fix compression threshold max limit from 4000 to 8000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated hardcoded max limit in CompressThreshold input to match the 8000 token configuration - Resolves issue where UI was limiting users to 4000 tokens despite backend supporting 8000 - Now allows users to set compression thresholds up to the full 8000 token limit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- app/components/model-config.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/model-config.tsx b/app/components/model-config.tsx index e845bfeac..65b900c36 100644 --- a/app/components/model-config.tsx +++ b/app/components/model-config.tsx @@ -218,7 +218,7 @@ export function ModelConfigList(props: { aria-label={Locale.Settings.CompressThreshold.Title} type="number" min={500} - max={4000} + max={8000} value={props.modelConfig.compressMessageLengthThreshold} onChange={(e) => props.updateConfig(