summaryrefslogtreecommitdiffstats
path: root/src/client.rs
AgeCommit message (Expand)AuthorLines
2023-03-09feat: add remain tokens indicator and max tokens guard (#50)sigoden-6/+16
2023-03-09feat: support conversation (#48)sigoden-12/+3
2023-03-09refactor: replace Arc<Refcell<Config>> with Arc<Mutex<Config>> (#46)sigoden-8/+8
2023-03-08feat: add role-specific config (#42)sigoden-1/+1
2023-03-08chore: improve code by getting prompt from config (#39)sigoden-24/+10
2023-03-08chore: no longer ignore any errorsigoden-4/+4
2023-03-07refactor: optimize ctrl+c/ctrl+d abort handling (#27)sigoden-8/+7
2023-03-06chore: improve code by renameing some functionsigoden-8/+11
2023-03-06chore: optimize codesigoden-9/+9
2023-03-05feat: add `.set` command (#20)sigoden-27/+31
2023-03-05chore: refactor error encapsulationsigoden-5/+4
2023-03-05refactor: optimize role prompt (#13)sigoden-10/+22
2023-03-04feat: support highlight reply markdown (#3)sigoden-17/+24
2023-03-03refactor: split into separate modssigoden-0/+166