summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-02-25refactor: improve saving messages (#322)sigoden-4/+10
2024-02-25chore: improve execute commands promptsigoden-0/+2
2024-02-24refactor: improve prompt error handling (#319)sigoden-25/+12
2024-02-23chore: update deps and readmesigoden-1/+2
2024-02-23feat: support `-e/--execute` to execute shell command (#318)sigoden-33/+203
2024-02-22refactor: change header of messages saved to markdown (#317)sigoden-2/+23
2024-02-20feat: edit current prompt on $VISUAL/$EDITOR (#314)sigoden-1/+10
2024-02-16refactor: update vertexai/gemini/ernie clients (#309)sigoden-177/+270
2024-02-15feat: support vertexai (#308)sigoden-3/+96
2024-02-13feat: update openai/qianwen/gemini models (#306)sigoden-5/+5
2024-02-05fix: do not attempt to deserialize zero byte chunks in ollama stream (#303)Joseph Goulden-0/+3
2024-01-30feat: add `extra_fields` to models of localai/ollama clients (#298)Kelvie Wong-2/+28
* 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-30feat: add openai.api_base config (#302)sigoden-6/+3
2024-01-13feat: supports model capabilities (#297)sigoden-108/+174
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-13fix: deprecation warning of .read command (#296)Nicola Coretti-1/+1
2023-12-25refactor: ollam api_base configuration (#285)sigoden-1/+1
2023-12-24feat: custom REPL prompt (#283)sigoden-48/+245
2023-12-23refactor: remove path existence indicator from info (#282)sigoden-4/+1
2023-12-20feat: qianwen vision models support embeded images (#277)sigoden-23/+135
2023-12-20feat: support ollama (#276)sigoden-1/+211
2023-12-19feat: support qianwen:qwen-vl-plus (#275)sigoden-48/+121
2023-12-19refactor: adjust order of ernie modelssigoden-2/+2
2023-12-19feat: abandon PaLM2 (#274)sigoden-132/+1
2023-12-19feat: support gemini (#273)sigoden-19/+265
2023-12-16chore: change order of openai modelssigoden-2/+2
2023-12-14fix: cannot read image with uppercase ext (#270)sigoden-1/+5
2023-12-13chore: update change session error message (#267)sigoden-1/+3
2023-12-08feat: change REPL indicators (#263)sigoden-2/+2
2023-11-27feat: allow shift-tab to select prev in completion menu (#254)sigoden-0/+5
2023-11-27refactor: sort of some complete type (#253)sigoden-6/+4
2023-11-27feat: add ernie:ernie-bot-8k qianwen:qwen-max (#252)sigoden-15/+16
2023-11-27feat: state-aware completer (#251)sigoden-32/+117
2023-11-27chore: upgrade deps (#250)sigoden-3/+2
2023-11-27feat: support vision (#249)sigoden-103/+379
* 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-14refactor: trim trailing spaces from the role prompt (#246)sigoden-2/+2
2023-11-14refactor: palm client system message (#245)sigoden-8/+5
2023-11-14refactor: ernie client system message (#244)sigoden-6/+5
2023-11-14fix: the last reply tokens was not highlighted (#243)sigoden-16/+13
2023-11-13feat: extend `.read` to support files and messages (#242)sigoden-8/+21
2023-11-09refactor: qianwen client use incremental_output (#240)sigoden-5/+5
2023-11-08refactor: improve code quanity (#238)sigoden-28/+37
2023-11-08feat: add a spinner to indicate waiting for response (#236)sigoden-0/+60
2023-11-08refactor: improve render (#235)sigoden-388/+88
* refactor: redesign render - if stdout is not terminal, just write reply text to stdout - rename repl_render_stream to markdown_stream - deprecate cmd_render_stream - use raw_stream to just print streaming reply text * optimize rendering error * optimize render_stream
2023-11-08feat: add openai:gpt-4-1106-preview (#233)sigoden-2/+4
2023-11-08refactor: use ::: as multipline input indicator, deprecate """ (#232)sigoden-5/+5
2023-11-08fix: unexpected additional newline in REPL (#231)sigoden-2/+6
2023-11-08refactor: output info includes auto_copy and light_theme (#230)sigoden-4/+5
2023-11-07feat: temporarily use a role to send a message (#227)sigoden-9/+29
2023-11-07refactor: improve repl completer (#226)sigoden-58/+127
2023-11-07feat: deprecate `.edit`, use """ instead (#225)sigoden-36/+27