Commit Graph

105 Commits

Author SHA1 Message Date
sigoden
774d991144
feat: support moonshot (#369) 2024-03-25 08:23:54 +08:00
sigoden
527da63d18
refactor: do not automatically convert temperature value (#368) 2024-03-22 19:24:22 +08:00
sigoden
669d6ffde2 chore: update readme 2024-03-14 02:31:23 +00:00
sigoden
601288029d chore: update description and readme 2024-03-11 10:48:54 +00:00
tequ
fc04d56577
chore: update README.md (#350) 2024-03-11 18:46:36 +08:00
sigoden
d5b10ea0c1 chore: fix typos 2024-03-07 12:31:06 +00:00
sigoden
d6e12b1f56 chore: update readme 2024-03-06 20:52:41 +00:00
sigoden
f65c18886b chore: update description 2024-03-06 02:34:44 +00:00
sigoden
46cb320aa5 chore: spell check 2024-03-06 01:46:47 +00:00
sigoden
b82ae88a15 chore: update project description and README 2024-03-06 01:32:00 +00:00
sigoden
8e5d4e55b1
refactor: rename model's max_tokens to max_input_tokens (#339)
BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens`
2024-03-06 08:35:40 +08:00
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