Commit Graph

250 Commits (6286251d320a7f512e49534c30b42452d30d93cc)
 

Author SHA1 Message Date
sigoden cfb46ca0de
feat: add `--no-highlight` option (#24) 1 year ago
sigoden 7def9aef01
fix: combine pipe and cli args, disable highlight when pipe (#23) 1 year ago
sigoden c5a2f4603c chore: optimize code 1 year ago
sigoden 2152667fc6
refactor: split src/repl.rs to submodules (#22) 1 year ago
sigoden d40913d739
feat: add `.prompt` command (#21)
* feat: add `.prompt` command

* set temp role name
1 year ago
sigoden 4b1d6c16b3
feat: add `.set` command (#20)
* feat: add `.set` command

* Add config.role
1 year ago
sigoden 957ea431c2
refactor: rename config.no_highlight to highlight (#19) 1 year ago
sigoden aadffb17a3
feat: repl command replaces `.editor` with `.multiline` (#18)
You can use `.multiline` command to put multiline content

```
〉.multiline {
::: abc
::: cdf
::: }
```
It's much easier than `.editor`.
1 year ago
sigoden 625f0343cb chore: refactor error encapsulation 1 year ago
sigoden bec8787a57 chore: release v0.3.0 1 year ago
sigoden 2ac0155fa3
feat: accept pipe (#17)
`cat data | aichat` works
1 year ago
sigoden d876818df1
refactor: optimize clear screen (#16) 1 year ago
sigoden 181fbe8163
refactor: adjusted command name (#14)
* refactor: adjusted command name

.clear => .clear screen
.clear-history => .clear history
.clear-role => .clear role

* re-order commands in help text
1 year ago
sigoden 598c31c3d9
refactor: optimize role prompt (#13) 1 year ago
sigoden 822f0eed94
refactor: message record format (#12)
```
i am excited

--------
😃💥🎉
--------
```
1 year ago
sigoden 7a60a36367
feat: add `.info` command (#11) 1 year ago
sigoden a055d4bee6
feat: add `.copy` command (#10) 1 year ago
sigoden 5179b9a827
feat: add `.editor` command (#9)
* feat: add `.editor` command

Use `.editor` to edit/input multiline text

* support paste
1 year ago
sigoden 069583098f
refactor: no need tui, just render stream directly (#8) 1 year ago
Marcus Ziadé afe3f23831
chore: update README.md (#7) 1 year ago
sigoden 6dee235597 chore: release v0.2.0 1 year ago
sigoden e594d1bd5f chore: fix typos 1 year ago
sigoden 71f1127f9a
fix: tui warp long paragraph (#6)
* chore: optimize stream render

* fix: tui textwrap long paragraph
1 year ago
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
1 year ago
sigoden dbdb2ed125
refactor: replace config.highlight with config.no_highlight (#4)
* refactor: replace config.highlight with config.no_highlight

* update readme
1 year ago
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'
1 year ago
sigoden 3ffebce8bb refactor: split into separate mods 1 year ago
sigoden 2e511c1327 chore: optimize config path 1 year ago
sigoden 1cde32160b chore: update readme 1 year ago
sigoden 0de680a4e9
chore: use rustls (#1)
* chore: use rustls

* remove docker release
1 year ago
sigoden 2ea37fc814 chore: update readme 1 year ago
sigoden 17ee12a7f9 feat: support initial configuration items 1 year ago
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
1 year ago
sigoden 9e8a5481cf feat: support save chat messages to file 1 year ago
sigoden b516080a66 chore: update readme 1 year ago
sigoden 9343f96198 chore: add readme 1 year ago
sigoden 7057b9db19 refactor: remove config::Role.first_sentense 1 year ago
sigoden 6178959454 feat: add .view command 1 year ago
sigoden 99c48a3c59 feat: enable connect timeout 1 year ago
sigoden 1099edcb1a refactor: optimize line sperator 1 year ago
sigoden 48ebf1895d feat: remove the first two newlines 1 year ago
sigoden 57844638ce feat: add config.temperature 1 year ago
sigoden f6e4e4889c refactor: optimize .role command 1 year ago
sigoden 97af9322e7 feat: support list roles with --list-roles 1 year ago
sigoden f66d33e324 feat: handle ctrl-c 1 year ago
sigoden 3a6e2b4c2f chore: add LICENSE 1 year ago
sigoden a9128f7933 refactor: reorganize repl commands 1 year ago
sigoden a0d6ba7a08 chore: add ci 1 year ago
sigoden a80399df36 feat: repl supports history 1 year ago
sigoden dfebab910d init commit 1 year ago