From 8449550e8026f1448ff351629e8d74cbd5c806b7 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Tue, 31 Dec 2024 13:22:28 -0800 Subject: [PATCH] Adjust context window management cutoff --- src/core/Cline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Cline.ts b/src/core/Cline.ts index f6999a094c..1781440adb 100644 --- a/src/core/Cline.ts +++ b/src/core/Cline.ts @@ -843,7 +843,7 @@ export class Cline { maxAllowedSize = contextWindow - 27_000 break case 128_000: // most models - maxAllowedSize = contextWindow - 40_000 + maxAllowedSize = contextWindow - 30_000 break case 200_000: // claude models maxAllowedSize = contextWindow - 40_000