| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-03-10 | chore: improve code quality, omit head 2 newlines in handler but in not client | sigoden | -8/+4 | |
| 2023-03-10 | chore: opitmize code, move MAX_TOKENS related to config/message.rs | sigoden | -9/+15 | |
| 2023-03-10 | fix: forbid .clear role in middle of conversation | sigoden | -1/+16 | |
| 2023-03-10 | chore: improve code quality, split rep/prompt.rs from repl/init.rs | sigoden | -62/+72 | |
| 2023-03-10 | fix: cli specify role is not applied when conversation_first set true (#57) | sigoden | -3/+8 | |
| close #56 | ||||
| 2023-03-09 | feat: add config.conversation_first (#55) | sigoden | -15/+32 | |
| If set true, start a conversation immediately upon repl. | ||||
| 2023-03-09 | refactor: no need to confirm conversation when token used out | sigoden | -6/+8 | |
| 2023-03-09 | fix: csharp and php do not render correctly | sigoden | -3/+29 | |
| 2023-03-09 | refactor: optimize counting tokens (#53) | sigoden | -58/+42 | |
| 2023-03-09 | feat: support two types of role prompts (#52) | sigoden | -103/+192 | |
| 1. embeded prompt use __INPUT__ placeholder will generate one user message when send to gpt ``` - name: shell prompt: > I want you to act as a linux shell expert. Q: How to unzip a file A: unzip file.zip Q: __INPUT__ A: ``` 2. system prompt no __INPUT__ placeholder will generate on system message and one user message when send to gpt ``` - name: shell prompt: | I want you to act as a linux shell expert. I want you to answer only with bash code. Do not write explanations. ``` | ||||
| 2023-03-09 | refactor: trivial updates | sigoden | -9/+3 | |
| - change prompt's temp role name - questionnaire of 'save chat messages' default set true - `.info` do not show role name | ||||
| 2023-03-09 | feat: add remain tokens indicator and max tokens guard (#50) | sigoden | -42/+667 | |
| 2023-03-09 | fix: abort by ctrlc unexpectedly prints error message (#49) | sigoden | -4/+15 | |
| 2023-03-09 | feat: support conversation (#48) | sigoden | -56/+200 | |
| 2023-03-09 | feat: add role info to readline indicator (#47) | sigoden | -16/+57 | |
| ``` coder〉 ``` | ||||
| 2023-03-09 | refactor: imports order and group | sigoden | -27/+24 | |
| 2023-03-09 | refactor: replace Arc<Refcell<Config>> with Arc<Mutex<Config>> (#46) | sigoden | -26/+27 | |
| 2023-03-09 | refactor: extra spaces are allowed around repl command | sigoden | -4/+6 | |
| 2023-03-08 | chore: optimize newline again (#43) | sigoden | -5/+20 | |
| * chore: optimize newline again command mode: should no extra newline chat mode: should have one newline * fix windows newline * fix macos newline | ||||
| 2023-03-08 | feat: add role-specific config (#42) | sigoden | -5/+32 | |
| Now we can set role temperature. For example: ``` - name: shell prompt: > I want you to act as a linux shell expert. I want you to answer only with bash code. Do not write explanations. temperature: 0.4 ``` | ||||
| 2023-03-08 | chore: improve code by getting prompt from config (#39) | sigoden | -31/+20 | |
| 2023-03-08 | fix: windows no stream output (#37) | sigoden | -6/+4 | |
| 2023-03-08 | chore: no longer ignore any error | sigoden | -10/+19 | |
| 2023-03-08 | chore: optimize output newline | sigoden | -20/+10 | |
| 2023-03-08 | refactor: replace dump with print_now! (#35) | sigoden | -37/+48 | |
| 2023-03-08 | fix: repl set save true not work if not rerun(#34) | sigoden | -42/+21 | |
| 2023-03-08 | refactor: split long paragraphs for smoother stream output (#33) | sigoden | -34/+267 | |
| 2023-03-08 | refactor: theme and code color (#32) | sigoden | -25/+85 | |
| 2023-03-07 | feat: command mode supports stream out (#31) | sigoden | -166/+253 | |
| * feat: command mode supports stream out * update cli | ||||
| 2023-03-07 | refactor: adjust repl (#30) | sigoden | -66/+41 | |
| - abandon .copy - rename .multiple => .editor - if command successed, do not output `Done` - if command failed, output `Error: <error message>` | ||||
| 2023-03-07 | refactor: support highlighting more languages (#28) | sigoden | -2886/+28 | |
| 2023-03-07 | refactor: optimize ctrl+c/ctrl+d abort handling (#27) | sigoden | -48/+104 | |
| 2023-03-07 | refactor: use syntect for highlight, abandon mdcat (#26) | sigoden | -99/+3120 | |
| * refactor: use syntect for highlight, abandon mdcat * split src/render.rs to sub modules. embed a default theme * simulate typing effect. * fix format | ||||
| 2023-03-06 | chore: improve code by renameing some function | sigoden | -10/+13 | |
| 2023-03-06 | fix: $AI_CONFIG_DIR points to the parent directory (#25) | sigoden | -3/+6 | |
| 2023-03-06 | chore: release v0.4.0 | sigoden | -2/+2 | |
| 2023-03-06 | chore: optimize cli help | sigoden | -4/+4 | |
| 2023-03-06 | feat: add `--no-highlight` option (#24) | sigoden | -3/+8 | |
| 2023-03-06 | fix: combine pipe and cli args, disable highlight when pipe (#23) | sigoden | -3/+7 | |
| 2023-03-06 | chore: optimize code | sigoden | -33/+46 | |
| 2023-03-06 | refactor: split src/repl.rs to submodules (#22) | sigoden | -473/+517 | |
| 2023-03-06 | feat: add `.prompt` command (#21) | sigoden | -24/+72 | |
| * feat: add `.prompt` command * set temp role name | ||||
| 2023-03-05 | feat: add `.set` command (#20) | sigoden | -143/+231 | |
| * feat: add `.set` command * Add config.role | ||||
| 2023-03-05 | refactor: rename config.no_highlight to highlight (#19) | sigoden | -7/+11 | |
| 2023-03-05 | feat: repl command replaces `.editor` with `.multiline` (#18) | sigoden | -125/+50 | |
| You can use `.multiline` command to put multiline content ``` 〉.multiline { ::: abc ::: cdf ::: } ``` It's much easier than `.editor`. | ||||
| 2023-03-05 | chore: refactor error encapsulation | sigoden | -35/+25 | |
| 2023-03-05 | feat: accept pipe (#17) | sigoden | -3/+10 | |
| `cat data | aichat` works | ||||
| 2023-03-05 | refactor: optimize clear screen (#16) | sigoden | -5/+36 | |
| 2023-03-05 | refactor: adjusted command name (#14) | sigoden | -27/+26 | |
| * refactor: adjusted command name .clear => .clear screen .clear-history => .clear history .clear-role => .clear role * re-order commands in help text | ||||
| 2023-03-05 | refactor: optimize role prompt (#13) | sigoden | -14/+26 | |
