diff --git a/packages/coding-agent/src/modes/components/settings-defs.ts b/packages/coding-agent/src/modes/components/settings-defs.ts index 539471f5d..ab14ccb1e 100644 --- a/packages/coding-agent/src/modes/components/settings-defs.ts +++ b/packages/coding-agent/src/modes/components/settings-defs.ts @@ -97,13 +97,13 @@ const OPTION_PROVIDERS: Partial> = { ], "compaction.thresholdTokens": [ { value: "default", label: "Default", description: "Use percentage-based threshold" }, - { value: "25000", label: "25K tokens", description: "~50 pages of text" }, - { value: "50000", label: "50K tokens", description: "~100 pages of text" }, - { value: "100000", label: "100K tokens", description: "~200 pages of text" }, - { value: "150000", label: "150K tokens", description: "~300 pages of text" }, - { value: "200000", label: "200K tokens", description: "~400 pages of text" }, - { value: "300000", label: "300K tokens", description: "~600 pages of text" }, - { value: "500000", label: "500K tokens", description: "~1000 pages of text" }, + { value: "25000", label: "25K tokens", description: "Quarter of a 200K window" }, + { value: "50000", label: "50K tokens", description: "Half of a 200K window" }, + { value: "100000", label: "100K tokens", description: "Half of a 200K window" }, + { value: "150000", label: "150K tokens", description: "Three-quarters of a 200K window" }, + { value: "200000", label: "200K tokens", description: "Full standard context window" }, + { value: "300000", label: "300K tokens", description: "Large context window" }, + { value: "500000", label: "500K tokens", description: "Very large context window" }, ], // Retry max retries "retry.maxRetries": [ @@ -208,37 +208,37 @@ const OPTION_PROVIDERS: Partial> = { ], // Artifact spill settings "tools.artifactSpillThreshold": [ - { value: "1", label: "1 KB", description: "~20 lines of code" }, - { value: "2.5", label: "2.5 KB", description: "~50 lines of code" }, - { value: "5", label: "5 KB", description: "~100 lines of code" }, - { value: "10", label: "10 KB", description: "~200 lines of code" }, - { value: "20", label: "20 KB", description: "~400 lines of code" }, - { value: "30", label: "30 KB", description: "~600 lines of code" }, - { value: "50", label: "50 KB", description: "Default; ~1000 lines of code" }, - { value: "75", label: "75 KB", description: "~1500 lines of code" }, - { value: "100", label: "100 KB", description: "~2000 lines of code" }, - { value: "200", label: "200 KB", description: "~4000 lines of code" }, - { value: "500", label: "500 KB", description: "~10000 lines of code" }, - { value: "1000", label: "1 MB", description: "~20000 lines of code" }, + { value: "1", label: "1 KB", description: "~250 tokens" }, + { value: "2.5", label: "2.5 KB", description: "~625 tokens" }, + { value: "5", label: "5 KB", description: "~1.25K tokens" }, + { value: "10", label: "10 KB", description: "~2.5K tokens" }, + { value: "20", label: "20 KB", description: "~5K tokens" }, + { value: "30", label: "30 KB", description: "~7.5K tokens" }, + { value: "50", label: "50 KB", description: "Default; ~12.5K tokens" }, + { value: "75", label: "75 KB", description: "~19K tokens" }, + { value: "100", label: "100 KB", description: "~25K tokens" }, + { value: "200", label: "200 KB", description: "~50K tokens" }, + { value: "500", label: "500 KB", description: "~125K tokens" }, + { value: "1000", label: "1 MB", description: "~250K tokens" }, ], "tools.artifactTailBytes": [ - { value: "1", label: "1 KB", description: "~20 lines kept inline" }, - { value: "2.5", label: "2.5 KB", description: "~50 lines kept inline" }, - { value: "5", label: "5 KB", description: "~100 lines kept inline" }, - { value: "10", label: "10 KB", description: "~200 lines kept inline" }, - { value: "20", label: "20 KB", description: "Default; ~400 lines kept inline" }, - { value: "50", label: "50 KB", description: "~1000 lines kept inline" }, - { value: "100", label: "100 KB", description: "~2000 lines kept inline" }, - { value: "200", label: "200 KB", description: "~4000 lines kept inline" }, + { value: "1", label: "1 KB", description: "~250 tokens" }, + { value: "2.5", label: "2.5 KB", description: "~625 tokens" }, + { value: "5", label: "5 KB", description: "~1.25K tokens" }, + { value: "10", label: "10 KB", description: "~2.5K tokens" }, + { value: "20", label: "20 KB", description: "Default; ~5K tokens" }, + { value: "50", label: "50 KB", description: "~12.5K tokens" }, + { value: "100", label: "100 KB", description: "~25K tokens" }, + { value: "200", label: "200 KB", description: "~50K tokens" }, ], "tools.artifactTailLines": [ - { value: "50", label: "50 lines", description: "Very compact tail" }, - { value: "100", label: "100 lines", description: "Compact tail" }, - { value: "250", label: "250 lines", description: "Short tail" }, - { value: "500", label: "500 lines", description: "Default" }, - { value: "1000", label: "1000 lines", description: "Long tail" }, - { value: "2000", label: "2000 lines", description: "Very long tail" }, - { value: "5000", label: "5000 lines", description: "Extensive tail" }, + { value: "50", label: "50 lines", description: "~250 tokens" }, + { value: "100", label: "100 lines", description: "~500 tokens" }, + { value: "250", label: "250 lines", description: "~1.25K tokens" }, + { value: "500", label: "500 lines", description: "Default; ~2.5K tokens" }, + { value: "1000", label: "1000 lines", description: "~5K tokens" }, + { value: "2000", label: "2000 lines", description: "~10K tokens" }, + { value: "5000", label: "5000 lines", description: "~25K tokens" }, ], // Read line limit "read.defaultLimit": [