sigoden
040c48b9b3
refactor: handling of response error ( #433 )
5 months ago
sigoden
4f8d895154
refactor: handling of system message ( #432 )
5 months ago
sigoden
0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API ( #431 )
5 months ago
sigoden
9c6c9f10a2
feat: builtin models can be overwrited by models config ( #429 )
5 months ago
sigoden
d1aafa1115
feat: customize model's max_output_tokens ( #428 )
5 months ago
sigoden
1cc89eff51
refactor: more async code ( #427 )
5 months ago
sigoden
c5506fe393
refactor: tell user session compression ( #426 )
5 months ago
sigoden
b3162a72b5
refactor: shell execution with spinner and select prompt ( #425 )
5 months ago
sigoden
8b75080973
chore: fix typo
5 months ago
sigoden
8ab57ed74e
refactor: update description for cli options and config fields ( #423 )
5 months ago
sigoden
5d763fc10c
feat: add `.prompt` repl command ( #420 )
5 months ago
sigoden
8b806db857
feat: ctrlc won't exit repl and remove `ctrlc_exit` config ( #419 )
5 months ago
sigoden
a9a2caf4ae
refactor: fluash raw stream
5 months ago
sigoden
5d7c786b7f
feat: remove moonshot client ( #418 )
5 months ago
sigoden
a0b4f344ee
refactor: improve error message for some clients
5 months ago
sigoden
e78750412d
refactor: adjust command revision prompt
5 months ago
sigoden
b9bde15c1f
feat: add config `buffer_editor` ( #417 )
5 months ago
sigoden
9149954c7b
feat: always use stream unless set `--no-stream` explicitly ( #415 )
6 months ago
sigoden
16e9c647d4
refactor: adjust indicator text and render strategy
6 months ago
sigoden
38e594505b
feat: shell commands support revision ( #413 )
6 months ago
sigoden
6dc332930b
feat: make built-in roles selectable and rename them ( #412 )
6 months ago
sigoden
568e9a06db
refactor: hide sytem roles from repl tab-completion ( #407 )
6 months ago
sigoden
9f19539c2c
refactor: improve error mesasge for invalid eventsource content-type ( #405 )
6 months ago
sigoden
4a88a3da04
refactor: `ctrlc_exit` config default to false ( #403 )
6 months ago
sigoden
8feaf2a93d
refactor: adjust client order
6 months ago
sigoden
3b5843fe2e
refactor: all clients use openai token counter ( #402 )
6 months ago
sigoden
01ebc87348
refactor: update openai models list ( #400 )
6 months ago
sigoden
4a5ee3ecb7
feat: `-f/--file` take one value and no enter REPL ( #399 )
6 months ago
sigoden
a0bd6e1d5d
refactor: extract json stream handling ( #398 )
6 months ago
sigoden
5915bc2f3a
feat: support cohere ( #397 )
6 months ago
sigoden
ce1f9929f2
refactor: update openai models list ( #396 )
6 months ago
sigoden
07605d892a
refactor: update gemini/vertexai models list ( #395 )
6 months ago
sigoden
26289616d3
feat: use ctrl+enter to enter newline in REPL ( #394 )
6 months ago
sigoden
2280010959
refactor: change ctrlc message text
6 months ago
sigoden
2738988fc4
feat: add `ctrlc_exit` option to control REPL exit by ctrl+c ( #391 )
6 months ago
sigoden
664ac813aa
refactor: include filepaths if attaching multple text files ( #389 )
6 months ago
sigoden
e28b53a405
refactor: update models ( #388 )
6 months ago
sigoden
2654542601
chore: fix typo
6 months ago
sigoden
b91d1c4a93
refactor: gemini/vertexai blocked by safety ( #386 )
6 months ago
sigoden
2206593612
fix: incorrectly render text contains tabs ( #384 )
6 months ago
sigoden
68a1d98a3d
feat: add repl command `.save session` ( #382 )
6 months ago
sigoden
4cfd6c8e9f
refactor: config add in_repl property ( #381 )
6 months ago
sigoden
bd9a6a8725
feat: `save_session` config item can be null ( #380 )
6 months ago
sigoden
a05c462531
fix: not dirty session when updating properties ( #379 )
6 months ago
sigoden
3180d1d485
refactor: seperate temperature from role/session ( #378 )
6 months ago
sigoden
8da9fa5f4c
feat: add sepereate `save_session` config item to session ( #377 )
6 months ago
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>
6 months ago
sigoden
7f05dc1a4a
feat: support customizing gemini safeSettings ( #375 )
6 months ago
sigoden
0ebc7955da
refactor: improve creating config for openai-compatible client ( #374 )
6 months ago
sigoden
eec041c111
feat: rename client localai to openai-compatible ( #373 )
...
BREAKING CHANGE: rename client localai to openai-compatible
6 months ago
sigoden
bbd0c28726
refactor: reorder models ( #372 )
...
The capable ones come first.
6 months ago
sigoden
774d991144
feat: support moonshot ( #369 )
6 months ago
sigoden
527da63d18
refactor: do not automatically convert temperature value ( #368 )
6 months ago
sigoden
4d52479545
fix: vertexai model names ( #365 )
6 months ago
sigoden
7279e43141
fix: color on non-truecolor terminal ( #363 )
...
* fix: color on non-truecolor terminal
* make ansicolor lower contrast
6 months ago
Chief Marlin
8681895944
fix: misspelled mistral model name ( #359 )
6 months ago
sigoden
50c03e4fdc
feat: update ernie models ( #357 )
7 months ago
sigoden
f3210d622a
refactor: remove role field from session struct ( #356 )
7 months ago
sigoden
992d570041
refactor: cleanup the deprecated repl commands ( #355 )
7 months ago
sigoden
930d8c12ab
feat: new model claude:claude-3-haiku-20240307 ( #353 )
7 months ago
sigoden
aed243c3aa
feat: allow use of temporary role in a session ( #348 )
7 months ago
sigoden
8f14498969
fix: erratic behaviour when using temp role in a session ( #347 )
7 months ago
sigoden
2404a619e4
chore: update deps
7 months ago
sigoden
d5b10ea0c1
chore: fix typos
7 months ago
sigoden
f82f577b6d
feat: add nushell integration ( #344 )
7 months ago
sigoden
46cb320aa5
chore: spell check
7 months ago
sigoden
20c78d6f15
feat: add new ernie models ( #340 )
7 months ago
sigoden
8e5d4e55b1
refactor: rename model's `max_tokens` to `max_input_tokens` ( #339 )
...
BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens`
7 months ago
sigoden
be4e5e569a
feat: support claude-3 ( #336 )
7 months ago
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
7 months ago
sigoden
9e15a3409e
feat: reduce gemini blocking of unsafe content with safetySettings ( #334 )
7 months ago
sigoden
e443905dc1
feat: add `.clear messages` to clear session messages ( #332 )
7 months ago
sigoden
7e32787dba
chore: improve code quanity on ReplCommand/State
7 months ago
sigoden
8421f23b45
feat: allow overriding execute/code role ( #331 )
7 months ago
sigoden
b2f86f2899
refactor: auto_copy works when executing command ( #328 )
7 months ago
sigoden
3c16aff591
feat: add `-c/--code` to generate only code ( #327 )
7 months ago
sigoden
bc3cbce2f4
refactor: enhanced shell support ( #326 )
7 months ago
sigoden
bbb13d8227
chore: improve openai api error handling
7 months ago
sigoden
7633940e03
chore: update order of openai models
7 months ago
sigoden
75fe0b9205
feat: support mistral ( #324 )
7 months ago
sigoden
c538533014
feat: support claude ( #278 )
7 months ago
sigoden
c773e8d2e1
refactor: improve saving messages ( #322 )
7 months ago
sigoden
a3fbf71c1c
chore: improve execute commands prompt
7 months ago
sigoden
21d1be5bed
refactor: improve prompt error handling ( #319 )
7 months ago
sigoden
16b7ac071f
chore: update deps and readme
7 months ago
sigoden
7638412128
feat: support `-e/--execute` to execute shell command ( #318 )
7 months ago
sigoden
6c0204e696
refactor: change header of messages saved to markdown ( #317 )
7 months ago
sigoden
373b34ef5c
feat: edit current prompt on $VISUAL/$EDITOR ( #314 )
7 months ago
sigoden
179a5f5749
refactor: update vertexai/gemini/ernie clients ( #309 )
8 months ago
sigoden
5e4210980d
feat: support vertexai ( #308 )
8 months ago
sigoden
3bf0c371e4
feat: update openai/qianwen/gemini models ( #306 )
8 months ago
Joseph Goulden
25b27c148a
fix: do not attempt to deserialize zero byte chunks in ollama stream ( #303 )
8 months ago
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>
8 months ago
sigoden
a30c3cc4c1
feat: add openai.api_base config ( #302 )
8 months ago
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
9 months ago
Nicola Coretti
4e99df4c1b
fix: deprecation warning of .read command ( #296 )
9 months ago
sigoden
0e5c8567d4
refactor: ollam api_base configuration ( #285 )
9 months ago
sigoden
1c9ca1b002
feat: custom REPL prompt ( #283 )
9 months ago
sigoden
89fefb4d1a
refactor: remove path existence indicator from info ( #282 )
9 months ago
sigoden
6280f5ab4b
feat: qianwen vision models support embeded images ( #277 )
9 months ago