Commit Graph

17 Commits

Author SHA1 Message Date
sigoden
6e389d794e chore: update tool description 2023-03-06 13:37:34 +08:00
sigoden
ffa444399f chore: release v0.4.0 2023-03-06 10:34:07 +08:00
sigoden
f29ca57446 chore: optimize cli help 2023-03-06 10:08:59 +08:00
sigoden
4b1d6c16b3
feat: add .set command (#20)
* feat: add `.set` command

* Add config.role
2023-03-05 22:51:29 +08:00
sigoden
bec8787a57 chore: release v0.3.0 2023-03-05 11:24:21 +08:00
sigoden
2ac0155fa3
feat: accept pipe (#17)
`cat data | aichat` works
2023-03-05 11:11:15 +08:00
sigoden
822f0eed94
refactor: message record format (#12)
```
i am excited

--------
😃💥🎉
--------
```
2023-03-05 06:17:43 +08:00
sigoden
5179b9a827
feat: add .editor command (#9)
* feat: add `.editor` command

Use `.editor` to edit/input multiline text

* support paste
2023-03-05 00:01:45 +08:00
sigoden
069583098f
refactor: no need tui, just render stream directly (#8) 2023-03-04 22:18:42 +08:00
sigoden
6dee235597 chore: release v0.2.0 2023-03-04 19:24:57 +08:00
sigoden
71f1127f9a
fix: tui warp long paragraph (#6)
* chore: optimize stream render

* fix: tui textwrap long paragraph
2023-03-04 18:18:00 +08:00
sigoden
b058cca46d
refactor: use tui for better stream render (#5)
* feat: show question in the begining of stream render

* refactor: use tui for better stream render

* trivial updates

* fine-tune stream text merging
2023-03-04 15:00:11 +08:00
sigoden
0fa1ae215a
feat: support highlight reply markdown (#3)
* 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-04 09:02:57 +08:00
sigoden
0de680a4e9
chore: use rustls (#1)
* chore: use rustls

* remove docker release
2023-03-03 10:57:05 +08:00
sigoden
627a2d08ce refactor: config path and config data
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-03 10:11:23 +08:00
sigoden
6178959454 feat: add .view command 2023-03-03 08:04:15 +08:00
sigoden
dfebab910d init commit 2023-03-02 19:52:11 +08:00