diff options
| author | sigoden <sigoden@gmail.com> | 2023-11-01 22:15:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-01 22:15:55 +0800 |
| commit | f6da06dad9b2a76016209a7d58ad923c2c72f150 (patch) | |
| tree | 1c74f306c194d3289fe06ed31a39a00c27ad0ca9 /README.md | |
| parent | da3c541b681b140feb52b4297167ca233535fa90 (diff) | |
| download | aichat-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.md | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |
