summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.example.yaml2
-rw-r--r--src/config/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 8843a29..7362041 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -19,7 +19,7 @@ buffer_editor: null
function_calling: false
# Compress session when token count reaches or exceeds this threshold (must be at least 1000)
-compress_threshold: 1000
+compress_threshold: 4000
# Text prompt used for creating a concise summary of session message
summarize_prompt: 'Summarize the discussion briefly in 200 words or less to use as a prompt for future context.'
# Text prompt used for including the summary of the entire session
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 6df1cf3..7d4c853 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -112,7 +112,7 @@ impl Default for Config {
prelude: None,
buffer_editor: None,
function_calling: false,
- compress_threshold: 2000,
+ compress_threshold: 4000,
summarize_prompt: None,
summary_prompt: None,
left_prompt: None,