Skip to content

Commit 8e31fbd

Browse files
authored
Update src/core/condense/index.ts
1 parent 0c3b3b4 commit 8e31fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/condense/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { ApiMessage } from "../task-persistence/apiMessages"
88
import { maybeRemoveImageBlocks } from "../../api/transform/image-cleaning"
99

1010
export const N_MESSAGES_TO_KEEP = 3
11-
export const MIN_CONDENSE_THRESHOLD = 10 // Minimum percentage of context window to trigger condensing
11+
export const MIN_CONDENSE_THRESHOLD = 5 // Minimum percentage of context window to trigger condensing
1212
export const MAX_CONDENSE_THRESHOLD = 100 // Maximum percentage of context window to trigger condensing
1313

1414
const SUMMARY_PROMPT = `\

0 commit comments

Comments
 (0)