| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-27 | feat: state-aware completer (#251) | sigoden | -32/+88 | |
| 2023-11-27 | chore: upgrade deps (#250) | sigoden | -3/+2 | |
| 2023-11-27 | feat: support vision (#249) | sigoden | -26/+20 | |
| * feat: support vision * clippy * implement vision * resolve data url to local file * add model openai:gpt-4-vision-preview * use newline to concate embeded text files * set max_tokens for gpt-4-vision-preview | ||||
| 2023-11-13 | feat: extend `.read` to support files and messages (#242) | sigoden | -8/+21 | |
| 2023-11-08 | refactor: improve render (#235) | sigoden | -14/+3 | |
| * refactor: redesign render - if stdout is not terminal, just write reply text to stdout - rename repl_render_stream to markdown_stream - deprecate cmd_render_stream - use raw_stream to just print streaming reply text * optimize rendering error * optimize render_stream | ||||
| 2023-11-08 | refactor: use ::: as multipline input indicator, deprecate """ (#232) | sigoden | -5/+5 | |
| 2023-11-08 | refactor: output info includes auto_copy and light_theme (#230) | sigoden | -1/+1 | |
| 2023-11-07 | feat: temporarily use a role to send a message (#227) | sigoden | -4/+18 | |
| 2023-11-07 | refactor: improve repl completer (#226) | sigoden | -40/+93 | |
| 2023-11-07 | feat: deprecate `.edit`, use """ instead (#225) | sigoden | -36/+27 | |
| 2023-11-07 | feat: add `config.prelude` to allow setting default role/session (#224) | sigoden | -1/+1 | |
| 2023-11-07 | fix: unable to build on android using termux (#222) | sigoden | -14/+3 | |
| 2023-11-07 | refactor: use &GlobalConfig to avoid clone (#217) | sigoden | -7/+9 | |
| 2023-11-02 | chore: add one newline when caught repl error | sigoden | -0/+1 | |
| 2023-11-02 | refactor: improve repl completer (#199) | sigoden | -59/+147 | |
| 2023-11-02 | refactor: improve code quanity (#197) | sigoden | -68/+11 | |
| - move model_info.rs/message.rs to clients/ - rename SharedConfig to GlobalConfig | ||||
| 2023-11-02 | refactor: improve code quanity (#196) | sigoden | -350/+229 | |
| - rewrite Repl, remove ReplHandler - move ReplyStreamHandler to repl/ and rename it to ReplyHandler - deprecate utils::print_now - refactor session info | ||||
| 2023-11-01 | refactor: improve code quanity (#194) | sigoden | -1/+1 | |
| - extends ModelInfo for tokens calculating - refactor config/session.rs, improve export, render, getter/setter - modify main.rs, allow --model override session.model | ||||
| 2023-11-01 | refactor: clients/* and config.rs (#193) | sigoden | -5/+1 | |
| - add register_clients macro to make it easier to add a new client - no create_client_config, just add const PROMPTS - move ModelInfo from clients/ to config/ - model's max_tokens are optional - improve code quanity on config/mod.rs - add/use macro config_get_fn | ||||
| 2023-10-31 | feat: support custom theme (#187) | sigoden | -65/+12 | |
| 2023-10-30 | feat: add `.info role` and `.info session` (#183) | sigoden | -16/+41 | |
| 2023-10-30 | chore: spellcheck | sigoden | -1/+1 | |
| 2023-10-30 | feat: deprecate .clear command (#180) | sigoden | -42/+52 | |
| 2023-10-30 | feat: deprecate history file (#179) | sigoden | -35/+6 | |
| 2023-10-30 | fix: bugs between sesison/role (#178) | sigoden | -2/+2 | |
| 2023-10-30 | feat: deprecate prompt, remove `--prompt` and `.prompt` (#176) | sigoden | -15/+1 | |
| 2023-10-30 | chore: remove unnecessary clippy macros | sigoden | -6/+0 | |
| 2023-10-30 | feat: support textwrap (#171) | sigoden | -40/+17 | |
| * feat: support textwrap * improve cmd_render_stream * done cmd_render_stream * add `-w` alias to `--wrap` * done repl_render_stream * add `config.wrap_code` * remove cached config.wrap_width * fix unxpected duplicate lines on kitty * refactor markdown render * improve render * fix test | ||||
| 2023-10-29 | chore: improve code quanity | sigoden | -2/+2 | |
| 2023-10-28 | feat: enhance session/conversation (#162) | sigoden | -27/+31 | |
| * feat: enhance session/conversation * updates * updates * cut version v0.9.0-rc2 * add .session name completion | ||||
| 2023-10-27 | fix: .copy don't works on some linux distro (#161) | sigoden | -4/+18 | |
| 2023-10-27 | feat: change config.vi_keybindings to config.keybindings (#158) | sigoden | -1/+1 | |
| 2023-10-27 | chore: change left-prompt for conversation (#157) | sigoden | -1/+1 | |
| 2023-10-27 | fix: parse command fails if command following newline (#153) | sigoden | -19/+13 | |
| 2023-10-26 | feat: add .edit command for multi-line editing (#151) | sigoden | -19/+30 | |
| 2023-10-26 | refactor: improve code quanity | sigoden | -2/+3 | |
| 2023-10-26 | feat: add .read command (#145) | Leo Bergnéhr | -1/+15 | |
| 2023-10-26 | refactor: improve code quanity | sigoden | -12/+6 | |
| remove tokio::runtime::Runtime from client | ||||
| 2023-10-26 | feat: support multi bots and custom url (#150) | sigoden | -6/+6 | |
| 2023-10-24 | feat: suppport vi keybindings (#148) | sigoden | -7/+21 | |
| 2023-10-24 | feat: use backslash at end of line for multiline text (#147) | sigoden | -57/+2 | |
| BREAKING CHANGE: use backslash at end of line for multiline text ``` 〉.set dry_run true 〉abc \ def \ ijk >>> The following message consumes 12 tokens. abc def ijk ``` Deprecate old {}/() multi-line editing | ||||
| 2023-10-17 | chore: update deps | sigoden | -3/+3 | |
| 2023-07-10 | fix: minor code cleanup and pedantic lints (#134) | Anthony Rubick | -41/+45 | |
| 2023-05-04 | feat: add `.copy` command (#119) | sigoden | -2/+14 | |
| 2023-05-04 | feat: add `config.auto_copy` (#102) | shane s | -0/+1 | |
| * added config option to copy all ChatGPT output to clipboard * formatted with * updates --------- Co-authored-by: sigoden <sigoden@gmail.com> | ||||
| 2023-05-04 | chore: trivial updates | sigoden | -1/+1 | |
| 2023-05-04 | feat: support backeted paste (#117) | sigoden | -3/+6 | |
| 2023-03-20 | feat: check token usage in dry_run mode (#82) | sigoden | -0/+1 | |
| 2023-03-16 | feat: support multiple models (#71) | sigoden | -4/+14 | |
| 2023-03-13 | feat: support role args (#69) | sigoden | -1/+2 | |
| * feat: support role args We can use role args to pass some additional arguments to the prompt. ``` - name: convert:json:yaml prompt: convert __ARG1__ below to __ARG2__ ``` `:json:yaml` is `role args`. It has two args: - arg1 `json`, it will replace __ARG1__ in prompt - arg2 `yaml`, it will replace __ARG2__ in prompt ``` 〉.role convert:json:yaml name: convert:json:yaml prompt: convert json below to yaml temperature: null 〉.role convert:yaml:json name: convert:yaml:json prompt: convert yaml below to json temperature: null ``` different role args, will generate different prompts. * small updates | ||||
