summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-03 08:33:57 +0800
committersigoden <sigoden@gmail.com>2023-03-03 08:34:15 +0800
commitb516080a661d9e6cba5cd47fa79dc62ac086f2e5 (patch)
tree2dfed3b58b5ada70bc5bf0cdcf6ee430f21de442
parent9343f961989c59a0e1c5cb6e628f749f86df037c (diff)
downloadaichat-b516080a661d9e6cba5cd47fa79dc62ac086f2e5.tar.gz
chore: update readme
-rw-r--r--README.md5
-rw-r--r--src/main.rs2
2 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index f73dbaf..d5405de 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,12 @@
# AIChat
+[![CI](https://github.com/sigoden/aichat/actions/workflows/ci.yaml/badge.svg)](https://github.com/sigoden/aichat/actions/workflows/ci.yaml)
+[![Crates](https://img.shields.io/crates/v/aichat.svg)](https://crates.io/crates/aichat)
+
Chat with OpenAI GPT-3.5 in the terminal.
+![demo](https://user-images.githubusercontent.com/4012553/222600858-3fb60051-2bf2-4505-92ff-649356cdb1f6.gif)
+
## Install
### With cargo
diff --git a/src/main.rs b/src/main.rs
index 97399fd..f3db0f4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -194,7 +194,7 @@ fn run_repl(
Some(name) => match config.roles.iter().find(|v| v.name == name) {
Some(role_) => {
*role = Some(role_.clone());
- dump("", 1);
+ dump("", 1);
}
None => dump("Unknown role.", 2),
},