diff options
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml index e510734..69220f1 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -9,6 +9,13 @@ auto_copy: false # Automatically copy the last output to the cli keybindings: emacs # REPL keybindings. (emacs, vi) prelude: '' # Set a default role or session (role:<name>, session:<name>) +# Compress session if tokens exceed this value (valid when >=1000) +compress_threshold: 1000 +# The prompt for summarizing session messages +summarize_prompt: 'Summarize the discussion briefly in 200 words or less to use as a prompt for future context.' +# The prompt for the summary of the session +summary_prompt: 'This is a summary of the chat history as a recap: ' + # Custom REPL prompt, see https://github.com/sigoden/aichat/wiki/Custom-REPL-Prompt left_prompt: '{color.green}{?session {session}{?role /}}{role}{color.cyan}{?session )}{!session >}{color.reset} ' right_prompt: '{color.purple}{?session {?consume_tokens {consume_tokens}({consume_percent}%)}{!consume_tokens {consume_tokens}}}{color.reset}' |
