mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
Adjust context window management cutoff for deepseek
This commit is contained in:
parent
505e7ea481
commit
fcc5c8f4ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue