Commit Graph

83 Commits

Author SHA1 Message Date
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
sigoden
23e9fb5bbf
feat: deprecate .clear command (#180) 2023-10-30 14:17:15 +08:00
sigoden
ba3cc4f15d
feat: deprecate history file (#179) 2023-10-30 13:36:08 +08:00
sigoden
b3e6879438
feat: deprecate prompt, remove --prompt and .prompt (#176) 2023-10-30 10:36:08 +08:00
Ajay Gonepuri (GONAPCORP)
49595053f0
chore: fix typo (#170) 2023-10-30 10:19:15 +08:00
sigoden
b276dfedd2
feat: support textwrap (#171)
* 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-30 10:07:01 +08:00
sigoden
33a9aacf39 chore: update readme 2023-10-29 10:48:19 +08:00
sigoden
4fae3724be chore: update readme 2023-10-29 10:44:30 +08:00
sigoden
871adab22a chore: improve code quanity 2023-10-29 07:01:13 +08:00
sigoden
7f5bad6474 chore: improve code and doc 2023-10-28 22:22:37 +08:00
sigoden
bc44026ff8
feat: enhance session/conversation (#162)
* feat: enhance session/conversation

* updates

* updates

* cut version v0.9.0-rc2

* add .session name completion
2023-10-28 21:39:17 +08:00
Gaurav Kumar
7298dbc165
chore: update README.md to fix typo (#159) 2023-10-27 22:00:28 +08:00