sigoden
0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API ( #431 )
1 month ago
sigoden
1cc89eff51
refactor: more async code ( #427 )
1 month ago
sigoden
c5506fe393
refactor: tell user session compression ( #426 )
1 month ago
sigoden
8ab57ed74e
refactor: update description for cli options and config fields ( #423 )
1 month ago
sigoden
5d763fc10c
feat: add `.prompt` repl command ( #420 )
1 month ago
sigoden
8b806db857
feat: ctrlc won't exit repl and remove `ctrlc_exit` config ( #419 )
1 month ago
sigoden
b9bde15c1f
feat: add config `buffer_editor` ( #417 )
2 months ago
sigoden
4a5ee3ecb7
feat: `-f/--file` take one value and no enter REPL ( #399 )
2 months ago
sigoden
26289616d3
feat: use ctrl+enter to enter newline in REPL ( #394 )
2 months ago
sigoden
2280010959
refactor: change ctrlc message text
2 months ago
sigoden
2738988fc4
feat: add `ctrlc_exit` option to control REPL exit by ctrl+c ( #391 )
2 months ago
sigoden
68a1d98a3d
feat: add repl command `.save session` ( #382 )
2 months ago
sigoden
4cfd6c8e9f
refactor: config add in_repl property ( #381 )
2 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>
2 months ago
sigoden
992d570041
refactor: cleanup the deprecated repl commands ( #355 )
3 months ago
sigoden
aed243c3aa
feat: allow use of temporary role in a session ( #348 )
3 months ago
sigoden
8f14498969
fix: erratic behaviour when using temp role in a session ( #347 )
3 months ago
sigoden
d5b10ea0c1
chore: fix typos
3 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
3 months ago
sigoden
e443905dc1
feat: add `.clear messages` to clear session messages ( #332 )
3 months ago
sigoden
7e32787dba
chore: improve code quanity on ReplCommand/State
3 months ago
sigoden
b2f86f2899
refactor: auto_copy works when executing command ( #328 )
3 months ago
sigoden
16b7ac071f
chore: update deps and readme
3 months ago
sigoden
373b34ef5c
feat: edit current prompt on $VISUAL/$EDITOR ( #314 )
3 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
5 months ago
Nicola Coretti
4e99df4c1b
fix: deprecation warning of .read command ( #296 )
5 months ago
sigoden
ee5fbe629c
feat: allow shift-tab to select prev in completion menu ( #254 )
6 months ago
sigoden
2508d56598
feat: state-aware completer ( #251 )
6 months ago
sigoden
25e545474f
chore: upgrade deps ( #250 )
6 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
6 months ago
sigoden
542dcfe6f6
feat: extend `.read` to support files and messages ( #242 )
7 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
7 months ago
sigoden
15efa17963
refactor: use ::: as multipline input indicator, deprecate """ ( #232 )
7 months ago
sigoden
e8461b8462
refactor: output info includes auto_copy and light_theme ( #230 )
7 months ago
sigoden
c99bd015aa
feat: temporarily use a role to send a message ( #227 )
7 months ago
sigoden
b07a112f89
feat: deprecate `.edit`, use """ instead ( #225 )
7 months ago
sigoden
6bb2ec05be
feat: add `config.prelude` to allow setting default role/session ( #224 )
7 months ago
sigoden
534733b77c
fix: unable to build on android using termux ( #222 )
7 months ago
sigoden
87aec71e08
refactor: use &GlobalConfig to avoid clone ( #217 )
7 months ago
sigoden
713c92bdde
chore: add one newline when caught repl error
7 months ago
sigoden
652b51509d
refactor: improve repl completer ( #199 )
7 months ago
sigoden
7c6841782d
refactor: improve code quanity ( #197 )
...
- move model_info.rs/message.rs to clients/
- rename SharedConfig to GlobalConfig
7 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
7 months ago
sigoden
680670e834
feat: support custom theme ( #187 )
7 months ago
sigoden
e86ad7dc16
feat: add `.info role` and `.info session` ( #183 )
7 months ago
sigoden
23e9fb5bbf
feat: deprecate .clear command ( #180 )
7 months ago
sigoden
ba3cc4f15d
feat: deprecate history file ( #179 )
7 months ago
sigoden
2f9121e515
fix: bugs between sesison/role ( #178 )
7 months ago
sigoden
b3e6879438
feat: deprecate prompt, remove `--prompt` and `.prompt` ( #176 )
7 months ago
sigoden
871adab22a
chore: improve code quanity
7 months ago