diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-04 09:02:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-04 09:02:57 +0800 |
| commit | 0fa1ae215ac1434591968818f8f75ad5b35d52ec (patch) | |
| tree | 2417bc0e95fad6886dd414cf407bb9fc0dbf3108 /README.md | |
| parent | 3ffebce8bbc530429086302ec4f9a95268c25d07 (diff) | |
| download | aichat-0fa1ae215ac1434591968818f8f75ad5b35d52ec.tar.gz | |
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'
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -22,11 +22,12 @@ Download from [Github Releases](https://github.com/sigoden/aichat/releases), unz ## Features - Compared to the browser, the terminal starts faster and needs less resources. -- Support command mode and interactive mode. -- Support proxy. +- Support directive and interactive modes +- Support markdown highlighting. - Predefine prompts for role playing. - History query/completion. -- Persist chat messages +- Persist chat messages. +- Support proxy. - Written in rust, single executable file, cross-platform. ## Config @@ -47,6 +48,7 @@ After setting, it will automatically create the configuration file. Of course, y api_key: "<YOUR SECRET API KEY>" # Request via https://platform.openai.com/account/api-keys temperature: 1.0 # optional, see https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature save: true # optional, If set to true, aichat will save chat messages to message.md +highlight: true # optional, Whether to highlight reply message. proxy: "socks5://127.0.0.1:1080" # optional, set proxy server. e.g. http://127.0.0.1:8080 or socks5://127.0.0.1:1080 ``` |
