Adjust context window management cutoff for deepseek

This commit is contained in:
Saoud Rizwan 2024-12-31 13:15:25 -08:00
parent 505e7ea481
commit fcc5c8f4ba

View file

@ -840,7 +840,7 @@ export class Cline {
let maxAllowedSize: number
switch (contextWindow) {
case 64_000: // deepseek models
maxAllowedSize = contextWindow - 25_000
maxAllowedSize = contextWindow - 27_000
break
case 128_000: // most models
maxAllowedSize = contextWindow - 40_000