sigoden
4cfd6c8e9f
refactor: config add in_repl property ( #381 )
6 months ago
Patrick Jackson
582f56e915
feat: add `save_session` config item and `--save-session` cli option ( #370 )
...
* fix: sessions should save when exiting
* feat: improve save sessions
* feat: do not allow saving the temp session name
* feat: allow creating a session without interactive use
* feat: add `save_session` config and `--save-session` option
---------
Co-authored-by: sigoden <sigoden@gmail.com>
6 months ago
sigoden
992d570041
refactor: cleanup the deprecated repl commands ( #355 )
7 months ago
sigoden
aed243c3aa
feat: allow use of temporary role in a session ( #348 )
7 months ago
sigoden
8f14498969
fix: erratic behaviour when using temp role in a session ( #347 )
7 months ago
sigoden
d5b10ea0c1
chore: fix typos
7 months ago
sigoden
3f693ea060
feat: compress session automaticlly ( #333 )
...
* feat: compress session automaticlly
* non-block
* update field description
* set compress_threshold
* update session::clear_messages
* able to override session compress_threshold
* enable compress_threshold by default
* make session compress_threshold optional
7 months ago
sigoden
e443905dc1
feat: add `.clear messages` to clear session messages ( #332 )
7 months ago
sigoden
7e32787dba
chore: improve code quanity on ReplCommand/State
7 months ago
sigoden
b2f86f2899
refactor: auto_copy works when executing command ( #328 )
7 months ago
sigoden
16b7ac071f
chore: update deps and readme
7 months ago
sigoden
373b34ef5c
feat: edit current prompt on $VISUAL/$EDITOR ( #314 )
7 months ago
sigoden
fe35cfd941
feat: supports model capabilities ( #297 )
...
1. automatically switch to the model that has the necessary capabilities.
2. throw an error if the client does not have a model with the necessary capabilities
9 months ago
Nicola Coretti
4e99df4c1b
fix: deprecation warning of .read command ( #296 )
9 months ago
sigoden
ee5fbe629c
feat: allow shift-tab to select prev in completion menu ( #254 )
10 months ago
sigoden
2508d56598
feat: state-aware completer ( #251 )
10 months ago
sigoden
25e545474f
chore: upgrade deps ( #250 )
10 months ago
sigoden
35c75506e2
feat: support vision ( #249 )
...
* 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
10 months ago
sigoden
542dcfe6f6
feat: extend `.read` to support files and messages ( #242 )
11 months ago
sigoden
eb30d90391
refactor: improve render ( #235 )
...
* 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
11 months ago
sigoden
15efa17963
refactor: use ::: as multipline input indicator, deprecate """ ( #232 )
11 months ago
sigoden
e8461b8462
refactor: output info includes auto_copy and light_theme ( #230 )
11 months ago
sigoden
c99bd015aa
feat: temporarily use a role to send a message ( #227 )
11 months ago
sigoden
b07a112f89
feat: deprecate `.edit`, use """ instead ( #225 )
11 months ago
sigoden
6bb2ec05be
feat: add `config.prelude` to allow setting default role/session ( #224 )
11 months ago
sigoden
534733b77c
fix: unable to build on android using termux ( #222 )
11 months ago
sigoden
87aec71e08
refactor: use &GlobalConfig to avoid clone ( #217 )
11 months ago
sigoden
713c92bdde
chore: add one newline when caught repl error
11 months ago
sigoden
652b51509d
refactor: improve repl completer ( #199 )
11 months ago
sigoden
7c6841782d
refactor: improve code quanity ( #197 )
...
- move model_info.rs/message.rs to clients/
- rename SharedConfig to GlobalConfig
11 months ago
sigoden
444f4ebe9d
refactor: improve code quanity ( #196 )
...
- rewrite Repl, remove ReplHandler
- move ReplyStreamHandler to repl/ and rename it to ReplyHandler
- deprecate utils::print_now
- refactor session info
11 months ago
sigoden
680670e834
feat: support custom theme ( #187 )
11 months ago
sigoden
e86ad7dc16
feat: add `.info role` and `.info session` ( #183 )
11 months ago
sigoden
23e9fb5bbf
feat: deprecate .clear command ( #180 )
11 months ago
sigoden
ba3cc4f15d
feat: deprecate history file ( #179 )
11 months ago
sigoden
2f9121e515
fix: bugs between sesison/role ( #178 )
11 months ago
sigoden
b3e6879438
feat: deprecate prompt, remove `--prompt` and `.prompt` ( #176 )
11 months ago
sigoden
871adab22a
chore: improve code quanity
11 months ago
sigoden
bc44026ff8
feat: enhance session/conversation ( #162 )
...
* feat: enhance session/conversation
* updates
* updates
* cut version v0.9.0-rc2
* add .session name completion
11 months ago
sigoden
2fad63be6a
fix: parse command fails if command following newline ( #153 )
11 months ago
sigoden
ca0f6343f2
feat: add .edit command for multi-line editing ( #151 )
11 months ago
sigoden
b3f8f27018
refactor: improve code quanity
11 months ago
Leo Bergnéhr
c3f9ef6c39
feat: add .read command ( #145 )
11 months ago
sigoden
66fd547c0f
refactor: improve code quanity
...
remove tokio::runtime::Runtime from client
11 months ago
sigoden
7d8564cafb
feat: support multi bots and custom url ( #150 )
11 months ago
sigoden
b5e1460151
feat: use backslash at end of line for multiline text ( #147 )
...
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
11 months ago
sigoden
90bdc1b7db
chore: update deps
12 months ago
Anthony Rubick
97fc7de675
fix: minor code cleanup and pedantic lints ( #134 )
1 year ago
sigoden
00ce157571
feat: add `.copy` command ( #119 )
1 year ago
sigoden
439d231e42
chore: trivial updates
1 year ago