summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-05-30 10:19:29 +0800
committerGitHub <noreply@github.com>2024-05-30 10:19:29 +0800
commitfa4bf14e02b1e6361b38014fe6a986738cf06837 (patch)
treef511adfaa457a1829c4064d44b966cd271e993ee /config.example.yaml
parentc0f4d2d71251b883519e45d9bf2e0cafa52e552d (diff)
downloadaichat-fa4bf14e02b1e6361b38014fe6a986738cf06837.tar.gz
refactor: adjust default `compress_threshold` to 4000 (#552)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml2
1 files changed, 1 insertions, 1 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