Commit Graph

467 Commits

Author SHA1 Message Date
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
aed243c3aa
feat: allow use of temporary role in a session (#348) 2024-03-10 08:01:54 +08:00
sigoden
8f14498969
fix: erratic behaviour when using temp role in a session (#347) 2024-03-09 22:28:36 +08:00
sigoden
c3677e3380
chore: release v0.14.0 (#341) 2024-03-07 23:25:54 +08:00
sigoden
2404a619e4 chore: update deps 2024-03-07 15:14:52 +00:00
sigoden
d5b10ea0c1 chore: fix typos 2024-03-07 12:31:06 +00:00
sigoden
f82f577b6d
feat: add nushell integration (#344) 2024-03-07 06:31:23 +08: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
32ce76e4d1 chore: update deps 2024-03-06 01:52:26 +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
9e4f21546c chore: update LICENSE-MIT 2024-03-06 01:26:41 +00:00
sigoden
20c78d6f15
feat: add new ernie models (#340) 2024-03-06 09:09:40 +08: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
be4e5e569a
feat: support claude-3 (#336) 2024-03-05 06:52:47 +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
9e15a3409e
feat: reduce gemini blocking of unsafe content with safetySettings (#334) 2024-03-04 10:51:30 +08:00
sigoden
e443905dc1
feat: add .clear messages to clear session messages (#332) 2024-03-03 15:25:21 +08:00
sigoden
7e32787dba chore: improve code quanity on ReplCommand/State 2024-03-03 06:53:59 +00:00
sigoden
8421f23b45
feat: allow overriding execute/code role (#331) 2024-03-03 09:57:50 +08:00
sigoden
b2f86f2899
refactor: auto_copy works when executing command (#328) 2024-03-02 22:02:29 +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
bc3cbce2f4
refactor: enhanced shell support (#326) 2024-03-02 15:44:08 +08:00
sigoden
bbb13d8227 chore: improve openai api error handling 2024-03-01 10:31:25 +00:00
sigoden
7633940e03 chore: update order of openai models 2024-03-01 09:58:19 +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
aec1b707af chore: release v0.13.0 2024-02-25 12:27:30 +00:00
sigoden
c773e8d2e1
refactor: improve saving messages (#322) 2024-02-25 20:09:40 +08:00
sigoden
a3fbf71c1c chore: improve execute commands prompt 2024-02-25 00:16:16 +00: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
6c0204e696
refactor: change header of messages saved to markdown (#317) 2024-02-22 11:39:22 +08:00
sigoden
373b34ef5c
feat: edit current prompt on $VISUAL/$EDITOR (#314) 2024-02-20 21:31:42 +08:00
sigoden
179a5f5749
refactor: update vertexai/gemini/ernie clients (#309) 2024-02-16 18:32:33 +08:00
sigoden
5e4210980d
feat: support vertexai (#308) 2024-02-15 08:10:30 +08:00
sigoden
3bf0c371e4
feat: update openai/qianwen/gemini models (#306) 2024-02-13 13:07:23 +08:00
Joseph Goulden
25b27c148a
fix: do not attempt to deserialize zero byte chunks in ollama stream (#303) 2024-02-05 21:24:37 +08:00
Kelvie Wong
176ff6f83e
feat: add extra_fields to models of localai/ollama clients (#298)
* Add an "extra_fields" config to localai models

Because there are so many local AIs out there with a bunch of custom
parameters you can set, this allows users to send in extra parameters to
a local LLM runner, such as, e.g. `instruction_template: Alpaca`, so
that Mixtral can take a system prompt.

* support ollama

---------

Co-authored-by: sigoden <sigoden@gmail.com>
2024-01-30 19:43:55 +08:00
sigoden
a30c3cc4c1
feat: add openai.api_base config (#302) 2024-01-30 18:28:12 +08:00
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
2024-01-13 19:52:07 +08:00