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
2024-03-04 11:08:59 +08:00
sigoden
e443905dc1
feat: add .clear messages
to clear session messages ( #332 )
2024-03-03 15:25:21 +08:00
sigoden
3c16aff591
feat: add -c/--code
to generate only code ( #327 )
2024-03-02 21:11:28 +08:00
sigoden
d275c33632
chore: move integration scripts
2024-03-02 08:07:06 +00:00
sigoden
6216b40f8c
chore: update model_request issue_template and readme
2024-03-02 07:57:03 +00:00
sigoden
75fe0b9205
feat: support mistral ( #324 )
2024-02-28 08:22:15 +08:00
sigoden
c538533014
feat: support claude ( #278 )
2024-02-27 08:38:19 +08:00
sigoden
c73a0acbbc
chore: update readme
2024-02-26 08:22:37 +00:00
sigoden
05dfdd0b37
chore: update readme
2024-02-26 03:33:50 +00:00
sigoden
ff0ec15e06
feat: add shell integration ( #323 )
2024-02-26 11:28:25 +08:00
sigoden
21d1be5bed
refactor: improve prompt error handling ( #319 )
2024-02-24 19:13:48 +08:00
sigoden
16b7ac071f
chore: update deps and readme
2024-02-23 08:07:56 +00:00
sigoden
7638412128
feat: support -e/--execute
to execute shell command ( #318 )
2024-02-23 13:15:18 +08:00
sigoden
373b34ef5c
feat: edit current prompt on $VISUAL/$EDITOR ( #314 )
2024-02-20 21:31:42 +08:00
sigoden
a30c3cc4c1
feat: add openai.api_base config ( #302 )
2024-01-30 18:28:12 +08:00
sigoden
e198e35a28
chore: update readme to remove pacman installation
2023-12-28 02:13:46 +00:00
sigoden
cb542bef08
chore: update readme
2023-12-27 01:27:59 +00:00
sigoden
860f098082
chore: update readme
2023-12-26 01:10:25 +00:00
sigoden
b4ab5238ae
chore: update deps and readme
2023-12-25 00:26:42 +00:00
sigoden
1c9ca1b002
feat: custom REPL prompt ( #283 )
2023-12-24 16:04:18 +08:00
sigoden
5b001af50d
chore: update readme
2023-12-21 00:03:37 +00:00
sigoden
1bb28665f7
chore: update readme and deps
2023-12-20 23:21:17 +00:00
sigoden
64c4edf7c8
feat: support ollama ( #276 )
2023-12-20 07:49:05 +08:00
sigoden
6fb13359f4
feat: abandon PaLM2 ( #274 )
2023-12-19 20:47:15 +08:00
sigoden
6286251d32
feat: support gemini ( #273 )
2023-12-19 20:37:53 +08:00
sigoden
eb8a150539
chore: improve readme
2023-11-28 11:59:02 +08:00
sigoden
0afef991f9
chore: update cli description and readme
2023-11-27 18:02:52 +08:00
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
2023-11-27 14:04:50 +08:00
sigoden
542dcfe6f6
feat: extend .read
to support files and messages ( #242 )
2023-11-13 19:53:24 +08:00
sigoden
15efa17963
refactor: use ::: as multipline input indicator, deprecate """ ( #232 )
2023-11-08 11:19:45 +08:00
sigoden
e8461b8462
refactor: output info includes auto_copy and light_theme ( #230 )
2023-11-08 07:08:48 +08:00
sigoden
c99bd015aa
feat: temporarily use a role to send a message ( #227 )
2023-11-07 23:07:42 +08:00
sigoden
b07a112f89
feat: deprecate .edit
, use """ instead ( #225 )
2023-11-07 21:45:36 +08:00
sigoden
6bb2ec05be
feat: add config.prelude
to allow setting default role/session ( #224 )
2023-11-07 19:14:58 +08:00
sigoden
7627771e2d
feat: support Qianwen ( #211 )
2023-11-04 09:51:01 +08:00
sigoden
ec1f99fbf5
feat: support Ernie ( #210 )
2023-11-04 08:54:40 +08:00
sigoden
bba5028615
feat: support PaLM ( #209 )
2023-11-04 08:11:51 +08:00
sigoden
b34e40e25f
refactor: rename azure-openai to azure ( #204 )
2023-11-03 09:56:15 +08:00
sigoden
eff69a482d
feat: add .set auto_copy
( #200 )
2023-11-02 16:08:11 +08:00
sigoden
f6da06dad9
refactor: improve code quanity ( #194 )
...
- 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 22:15:55 +08:00
sigoden
64202758ec
chore: move split_line_* from repl/cmd.rs to utils/ ( #190 )
2023-10-31 18:34:38 +08:00
sigoden
bd3fc8e657
chore: refactor config description
2023-10-31 17:34:16 +08:00
sigoden
a137483b03
feat: improve client ( #189 )
2023-10-31 16:50:08 +08:00
sigoden
36380475d5
feat: support azure-openai ( #166 )
2023-10-31 06:36:52 +08:00
sigoden
54cfac427d
chore: add demo config.yaml
2023-10-30 19:52:51 +08:00
sigoden
d2e06bf716
chore: update readme
2023-10-30 19:30:28 +08:00
sigoden
e86ad7dc16
feat: add .info role
and .info session
( #183 )
2023-10-30 19:26:06 +08:00
sigoden
4909a20f2e
feat: force nowrap if no tty/terminal ( #182 )
2023-10-30 17:28:10 +08:00
sigoden
2203163938
chore: update readme and cli help
2023-10-30 17:10:52 +08:00
sigoden
2168610dbd
chore: spellcheck
2023-10-30 15:08:49 +08:00