summaryrefslogtreecommitdiffstats
path: root/src/main.rs
AgeCommit message (Collapse)AuthorLines
2023-03-05chore: refactor error encapsulationsigoden-8/+1
2023-03-05feat: accept pipe (#17)sigoden-3/+10
`cat data | aichat` works
2023-03-05refactor: optimize clear screen (#16)sigoden-1/+1
2023-03-05refactor: message record format (#12)sigoden-2/+4
``` i am excited -------- 😃💥🎉 -------- ```
2023-03-05feat: add `.copy` command (#10)sigoden-0/+1
2023-03-05feat: add `.editor` command (#9)sigoden-0/+1
* feat: add `.editor` command Use `.editor` to edit/input multiline text * support paste
2023-03-04chore: fix typossigoden-1/+1
2023-03-04refactor: replace config.highlight with config.no_highlight (#4)sigoden-1/+1
* refactor: replace config.highlight with config.no_highlight * update readme
2023-03-04feat: support highlight reply markdown (#3)sigoden-3/+13
* feat: support highlight reply markdown * migrate markdown highlighter from termimad to mdcat * optimize render No need to clear screen when there is no newline in reply token * handle ctrl-c when rendering stream * update readme * fix ctrlc don't abort acquire_stream when establish connection * ensure render_stream's dtect_ctrlc is exit before next readline This will make reedline don't throw err 'The cursor position could not be read within a normal duration'
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
use yaml other than toml for configuration. use $AICHAT_CONFIG_DIR other than $HOME for config dir. split roles to seperate config file
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