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
dbdb2ed125
refactor: replace config.highlight with config.no_highlight ( #4 )
...
* refactor: replace config.highlight with config.no_highlight
* update readme
2023-03-04 09:22:55 +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
3ffebce8bb
refactor: split into separate mods
2023-03-03 18:27:42 +08:00
sigoden
2e511c1327
chore: optimize config path
2023-03-03 12:43:34 +08:00
sigoden
1cde32160b
chore: update readme
2023-03-03 11:44:23 +08:00
sigoden
0de680a4e9
chore: use rustls ( #1 )
...
* chore: use rustls
* remove docker release
2023-03-03 10:57:05 +08:00
sigoden
2ea37fc814
chore: update readme
2023-03-03 10:34:02 +08:00
sigoden
17ee12a7f9
feat: support initial configuration items
2023-03-03 10:24:27 +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
9e8a5481cf
feat: support save chat messages to file
2023-03-03 09:15:58 +08:00
sigoden
b516080a66
chore: update readme
2023-03-03 08:34:15 +08:00
sigoden
9343f96198
chore: add readme
2023-03-03 08:28:46 +08:00
sigoden
7057b9db19
refactor: remove config::Role.first_sentense
2023-03-03 08:26:59 +08:00
sigoden
6178959454
feat: add .view command
2023-03-03 08:04:15 +08:00
sigoden
99c48a3c59
feat: enable connect timeout
2023-03-03 02:43:21 +08:00
sigoden
1099edcb1a
refactor: optimize line sperator
2023-03-03 00:51:23 +08:00
sigoden
48ebf1895d
feat: remove the first two newlines
2023-03-02 23:22:06 +08:00
sigoden
57844638ce
feat: add config.temperature
2023-03-02 23:11:34 +08:00
sigoden
f6e4e4889c
refactor: optimize .role command
2023-03-02 22:45:54 +08:00
sigoden
97af9322e7
feat: support list roles with --list-roles
2023-03-02 22:26:32 +08:00
sigoden
f66d33e324
feat: handle ctrl-c
2023-03-02 21:52:19 +08:00
sigoden
3a6e2b4c2f
chore: add LICENSE
2023-03-02 21:19:53 +08:00
sigoden
a9128f7933
refactor: reorganize repl commands
2023-03-02 21:19:26 +08:00
sigoden
a0d6ba7a08
chore: add ci
2023-03-02 20:13:06 +08:00
sigoden
a80399df36
feat: repl supports history
2023-03-02 20:11:17 +08:00
sigoden
dfebab910d
init commit
2023-03-02 19:52:11 +08:00