summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-11-07 19:14:58 +0800
committerGitHub <noreply@github.com>2023-11-07 19:14:58 +0800
commit6bb2ec05be1a502c70e95799af167ab4f6662cd5 (patch)
tree9d2ee1e9aabbcfbaefcc0d79c956fc39c102e866 /README.md
parent534733b77cb1baef1459faa16a45d75c5f6275e3 (diff)
downloadaichat-6bb2ec05be1a502c70e95799af167ab4f6662cd5.tar.gz
feat: add `config.prelude` to allow setting default role/session (#224)
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index a061bf2..df4ed18 100644
--- a/README.md
+++ b/README.md
@@ -68,6 +68,7 @@ wrap: no # Specify the text-wrapping mode (no, auto, <ma
wrap_code: false # Whether wrap code block
auto_copy: false # Automatically copy the last output to the clipboard
keybindings: emacs # REPL keybindings. values: emacs, vi
+prelude: '' # Set a default role or session (role:<name>, session:<name>)
clients:
- type: openai
@@ -141,7 +142,7 @@ The Chat REPL supports:
.info Print system info
.edit Multi-line editing (CTRL+S to finish)
.model Switch LLM model
-.role Use role
+.role Use a role
.info role Show role info
.exit role Leave current role
.session Start a context-aware chat session