summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-11-01 22:15:55 +0800
committerGitHub <noreply@github.com>2023-11-01 22:15:55 +0800
commitf6da06dad9b2a76016209a7d58ad923c2c72f150 (patch)
tree1c74f306c194d3289fe06ed31a39a00c27ad0ca9 /README.md
parentda3c541b681b140feb52b4297167ca233535fa90 (diff)
downloadaichat-f6da06dad9b2a76016209a7d58ad923c2c72f150.tar.gz
refactor: improve code quanity (#194)
- extends ModelInfo for tokens calculating - refactor config/session.rs, improve export, render, getter/setter - modify main.rs, allow --model override session.model
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.md b/README.md
index 04142e6..38db895 100644
--- a/README.md
+++ b/README.md
@@ -235,17 +235,21 @@ You should run aichat with `-s/--session` or use the `.session` command to start
```
〉.session
-temp)1 to 5, odd only 4089
+
+temp)1 to 5, odd only 0
1, 3, 5
-temp)to 7 4070
+temp)to 7 19(0.46%)
1, 3, 5, 7
-temp).exit session
+temp).exit session 42(1.03%)
+? Save session? (y/N)
-〉
```
+The prompt on the right side is about the current usage of tokens and the proportion of tokens used,
+compared to the maximum number of tokens allowed by the model.
+
### `.set` - modify the configuration temporarily