From b516080a661d9e6cba5cd47fa79dc62ac086f2e5 Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 3 Mar 2023 08:33:57 +0800 Subject: chore: update readme --- README.md | 5 +++++ src/main.rs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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), }, -- cgit v1.2.3