summaryrefslogtreecommitdiffstats
path: root/src/main.rs
AgeCommit message (Expand)AuthorLines
2023-03-11feat: add support for NO_COLOR (#67)sigoden-20/+14
2023-03-11feat: support light theme (#65)sigoden-2/+11
2023-03-11feat: provide `--prompt` for adding a prompt from cli (#62)sigoden-0/+3
2023-03-10fix: cli specify role is not applied when conversation_first set true (#57)sigoden-0/+1
2023-03-09feat: add remain tokens indicator and max tokens guard (#50)sigoden-0/+2
2023-03-09refactor: imports order and groupsigoden-9/+8
2023-03-09refactor: replace Arc<Refcell<Config>> with Arc<Mutex<Config>> (#46)sigoden-8/+8
2023-03-08chore: optimize newline again (#43)sigoden-2/+2
2023-03-08chore: improve code by getting prompt from config (#39)sigoden-3/+2
2023-03-08chore: optimize output newlinesigoden-2/+2
2023-03-08refactor: replace dump with print_now! (#35)sigoden-0/+1
2023-03-08fix: repl set save true not work if not rerun(#34)sigoden-2/+1
2023-03-07feat: command mode supports stream out (#31)sigoden-14/+34
2023-03-07refactor: adjust repl (#30)sigoden-1/+1
2023-03-07refactor: use syntect for highlight, abandon mdcat (#26)sigoden-2/+2
2023-03-06chore: improve code by renameing some functionsigoden-1/+1
2023-03-06feat: add `--no-highlight` option (#24)sigoden-1/+3
2023-03-06fix: combine pipe and cli args, disable highlight when pipe (#23)sigoden-3/+7
2023-03-06chore: optimize codesigoden-3/+2
2023-03-06refactor: split src/repl.rs to submodules (#22)sigoden-2/+1
2023-03-05feat: add `.set` command (#20)sigoden-19/+20
2023-03-05refactor: rename config.no_highlight to highlight (#19)sigoden-1/+1
2023-03-05chore: refactor error encapsulationsigoden-8/+1
2023-03-05feat: accept pipe (#17)sigoden-3/+10
2023-03-05refactor: optimize clear screen (#16)sigoden-1/+1
2023-03-05refactor: message record format (#12)sigoden-2/+4
2023-03-05feat: add `.copy` command (#10)sigoden-0/+1
2023-03-05feat: add `.editor` command (#9)sigoden-0/+1
2023-03-04chore: fix typossigoden-1/+1
2023-03-04refactor: replace config.highlight with config.no_highlight (#4)sigoden-1/+1
2023-03-04feat: support highlight reply markdown (#3)sigoden-3/+13
2023-03-03refactor: split into separate modssigoden-444/+36
2023-03-03chore: optimize config pathsigoden-7/+9
2023-03-03feat: support initial configuration itemssigoden-3/+24
2023-03-03refactor: config path and config datasigoden-22/+6
2023-03-03feat: support save chat messages to filesigoden-1/+27
2023-03-03chore: update readmesigoden-1/+1
2023-03-03refactor: remove config::Role.first_sentensesigoden-0/+1
2023-03-03feat: add .view commandsigoden-22/+51
2023-03-03feat: enable connect timeoutsigoden-23/+21
2023-03-03refactor: optimize line speratorsigoden-6/+5
2023-03-02feat: remove the first two newlinessigoden-1/+10
2023-03-02feat: add config.temperaturesigoden-3/+13
2023-03-02refactor: optimize .role commandsigoden-49/+68
2023-03-02feat: support list roles with --list-rolessigoden-0/+12
2023-03-02feat: handle ctrl-csigoden-50/+70
2023-03-02refactor: reorganize repl commandssigoden-38/+69
2023-03-02feat: repl supports historysigoden-3/+19
2023-03-02init commitsigoden-0/+295