diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-25 18:47:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-25 18:47:11 +0800 |
| commit | 34a6d13fb6e492860e1340ab7a97cbd1bdeb9d4d (patch) | |
| tree | a3e17b41c71963a7bf89e425c18bd059df296e42 /config.example.yaml | |
| parent | aeeca1c010117d7455cdbe2652769ca3fad3bb36 (diff) | |
| download | aichat-34a6d13fb6e492860e1340ab7a97cbd1bdeb9d4d.tar.gz | |
refactor: compress session (#649)
1. no require compress_threshold >= 1000
2. no compressing in middle of function calling
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml index ea1f879..43c3876 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -18,7 +18,7 @@ agent_prelude: null # Set a session to use when starting a agent. ( # ---- session ---- # Controls the persistence of the session, if null, asking the user save_session: null -# Compress session when token count reaches or exceeds this threshold (must be at least 1000) +# Compress session when token count reaches or exceeds this threshold 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.' |
