Commit Graph

567 Commits

Author SHA1 Message Date
sigoden
6dc332930b
feat: make built-in roles selectable and rename them (#412) 2024-04-14 14:43:42 +08:00
sigoden
1c3e81afe9
feat: add completion scripts (#411) 2024-04-13 19:50:10 +08:00
sigoden
568e9a06db
refactor: hide sytem roles from repl tab-completion (#407) 2024-04-12 06:12:08 +08:00
sigoden
9f19539c2c
refactor: improve error mesasge for invalid eventsource content-type (#405) 2024-04-11 12:37:18 +08:00
sigoden
a3f63a5e04
chore: release v0.16.0 (#404) 2024-04-11 08:34:18 +08:00
sigoden
4a88a3da04
refactor: ctrlc_exit config default to false (#403) 2024-04-11 08:14:08 +08:00
sigoden
8feaf2a93d refactor: adjust client order 2024-04-10 23:54:38 +00:00
sigoden
3b5843fe2e
refactor: all clients use openai token counter (#402) 2024-04-11 05:03:58 +08:00
sigoden
01ebc87348
refactor: update openai models list (#400) 2024-04-10 21:02:26 +08:00
sigoden
4a5ee3ecb7
feat: -f/--file take one value and no enter REPL (#399) 2024-04-10 20:36:12 +08:00
sigoden
a0bd6e1d5d
refactor: extract json stream handling (#398) 2024-04-10 20:06:57 +08:00
sigoden
5915bc2f3a
feat: support cohere (#397) 2024-04-10 18:52:21 +08:00
sigoden
ce1f9929f2
refactor: update openai models list (#396) 2024-04-10 09:27:39 +08:00
sigoden
07605d892a
refactor: update gemini/vertexai models list (#395) 2024-04-10 07:44:36 +08:00
sigoden
26ad75c005 chore: update readme and description 2024-04-09 22:41:22 +00:00
sigoden
26289616d3
feat: use ctrl+enter to enter newline in REPL (#394) 2024-04-09 17:35:56 +08:00
sigoden
2280010959 refactor: change ctrlc message text 2024-04-08 23:27:37 +00:00
sigoden
2738988fc4
feat: add ctrlc_exit option to control REPL exit by ctrl+c (#391) 2024-04-09 07:17:02 +08:00
sigoden
3a0cafebd9 chore: update description 2024-04-08 13:58:08 +00:00
sigoden
931f85e3e9 chore: update readme 2024-04-08 13:46:05 +00:00
sigoden
ccc5f864f1 chore: update readme and project description 2024-04-08 12:43:08 +00:00
sigoden
f44c552584 chore: update readme to add discord badge 2024-04-08 04:19:15 +00:00
sigoden
78d6e1b1e0
chore: release v0.15.0 (#387)
* chore: release v0.15.0

* add arm/armv7 releases

* update deps
2024-04-07 22:02:05 +08:00
sigoden
664ac813aa
refactor: include filepaths if attaching multple text files (#389) 2024-04-07 06:26:43 +08:00
sigoden
e28b53a405
refactor: update models (#388) 2024-04-06 09:10:42 +08:00
sigoden
2654542601 chore: fix typo 2024-04-04 09:05:40 +00:00
sigoden
b91d1c4a93
refactor: gemini/vertexai blocked by safety (#386) 2024-04-04 16:43:05 +08:00
sigoden
f3551c2efa chore: update ci 2024-04-04 08:04:16 +00:00
sigoden
84695b62c6 chore: update deps 2024-03-30 02:44:25 +00:00
sigoden
2206593612
fix: incorrectly render text contains tabs (#384) 2024-03-28 22:11:56 +08:00
sigoden
68a1d98a3d
feat: add repl command .save session (#382) 2024-03-27 11:20:00 +08:00
sigoden
4cfd6c8e9f
refactor: config add in_repl property (#381) 2024-03-27 10:25:42 +08:00
sigoden
bd9a6a8725
feat: save_session config item can be null (#380) 2024-03-27 10:02:09 +08:00
sigoden
a05c462531
fix: not dirty session when updating properties (#379) 2024-03-27 08:23:24 +08:00
sigoden
3180d1d485
refactor: seperate temperature from role/session (#378) 2024-03-27 08:11:00 +08:00
sigoden
8da9fa5f4c
feat: add sepereate save_session config item to session (#377) 2024-03-27 07:33:21 +08:00
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>
2024-03-27 07:00:28 +08:00
sigoden
7f05dc1a4a
feat: support customizing gemini safeSettings (#375) 2024-03-25 21:06:35 +08:00
sigoden
0ebc7955da
refactor: improve creating config for openai-compatible client (#374) 2024-03-25 11:13:54 +08:00
sigoden
eec041c111
feat: rename client localai to openai-compatible (#373)
BREAKING CHANGE: rename client localai to openai-compatible
2024-03-25 10:52:05 +08:00
sigoden
bbd0c28726
refactor: reorder models (#372)
The capable ones come first.
2024-03-25 09:21:46 +08:00
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
4d52479545
fix: vertexai model names (#365) 2024-03-19 16:06:53 +08:00
sigoden
7279e43141
fix: color on non-truecolor terminal (#363)
* fix: color on non-truecolor terminal

* make ansicolor lower contrast
2024-03-19 11:27:20 +08:00
Chief Marlin
8681895944
fix: misspelled mistral model name (#359) 2024-03-19 08:34:39 +08:00
sigoden
50c03e4fdc
feat: update ernie models (#357) 2024-03-17 09:20:16 +08:00
sigoden
f3210d622a
refactor: remove role field from session struct (#356) 2024-03-17 08:23:47 +08:00
sigoden
992d570041
refactor: cleanup the deprecated repl commands (#355) 2024-03-17 07:29:19 +08:00
sigoden
930d8c12ab
feat: new model claude:claude-3-haiku-20240307 (#353) 2024-03-15 08:14:10 +08:00