From f6da06dad9b2a76016209a7d58ad923c2c72f150 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 1 Nov 2023 22:15:55 +0800 Subject: 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 --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3