Commit Graph

502 Commits (main)
 

Author SHA1 Message Date
sigoden 34d58b2369 refactor: adjust order of ernie models 6 months ago
sigoden 6fb13359f4
feat: abandon PaLM2 (#274) 6 months ago
sigoden 6286251d32
feat: support gemini (#273) 6 months ago
sigoden 3adfeb1ae7 chore: change order of openai models 6 months ago
sigoden 65ab8c1d6f chore: update issue template 6 months ago
sigoden 27cae9582f
fix: cannot read image with uppercase ext (#270) 6 months ago
sigoden 10e3b6d234
chore: update change session error message (#267) 6 months ago
sigoden e4d301f3d7
fix: pipe failed on macos (#264) 6 months ago
sigoden e7272398dd
feat: change REPL indicators (#263) 6 months ago
sigoden 075631d794 chore: release v0.11.0 6 months ago
sigoden 30e2fd62dc chore: update deps 6 months ago
sigoden eb8a150539 chore: improve readme 6 months ago
sigoden ee5fbe629c
feat: allow shift-tab to select prev in completion menu (#254) 6 months ago
sigoden 0afef991f9 chore: update cli description and readme 6 months ago
sigoden c58912ba64
refactor: sort of some complete type (#253) 6 months ago
sigoden 18f16c6511
feat: add ernie:ernie-bot-8k qianwen:qwen-max (#252) 6 months ago
sigoden 2508d56598
feat: state-aware completer (#251) 6 months ago
sigoden 25e545474f
chore: upgrade deps (#250) 6 months ago
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
6 months ago
sigoden 5bfe95d311
refactor: trim trailing spaces from the role prompt (#246) 7 months ago
sigoden 8f1d8dec5f
refactor: palm client system message (#245) 7 months ago
sigoden e118e864d5
refactor: ernie client system message (#244) 7 months ago
sigoden 9b0fbe3506
fix: the last reply tokens was not highlighted (#243) 7 months ago
sigoden 542dcfe6f6
feat: extend `.read` to support files and messages (#242) 7 months ago
sigoden 757c192829
refactor: qianwen client use incremental_output (#240) 7 months ago
sigoden 01cf8acb81
refactor: improve code quanity (#238) 7 months ago
sigoden b40659613d
feat: add a spinner to indicate waiting for response (#236) 7 months ago
sigoden eb30d90391
refactor: improve render (#235)
* 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
7 months ago
sigoden a8a504e0f0 chore: release v0.10.0 7 months ago
sigoden c99dd5a2ff
feat: add openai:gpt-4-1106-preview (#233) 7 months ago
sigoden 15efa17963
refactor: use ::: as multipline input indicator, deprecate """ (#232) 7 months ago
sigoden 819f50d9b1
fix: unexpected additional newline in REPL (#231) 7 months ago
sigoden e8461b8462
refactor: output info includes auto_copy and light_theme (#230) 7 months ago
sigoden c99bd015aa
feat: temporarily use a role to send a message (#227) 7 months ago
sigoden c256b6bae5
refactor: improve repl completer (#226) 7 months ago
sigoden b07a112f89
feat: deprecate `.edit`, use """ instead (#225) 7 months ago
sigoden 6bb2ec05be
feat: add `config.prelude` to allow setting default role/session (#224) 7 months ago
sigoden 534733b77c
fix: unable to build on android using termux (#222) 7 months ago
sigoden d40f104f66
feat: allow the use of an unlisted model (#219) 7 months ago
sigoden 9a8b302432
refactor: remove Model.client_index, match client by name (#218) 7 months ago
sigoden 87aec71e08
refactor: use &GlobalConfig to avoid clone (#217) 7 months ago
sigoden 81624f7267
refactor: rename Model.llm_name to name (#216) 7 months ago
sigoden 399ed3337f
refactor: improve error message for PaLM client (#213) 7 months ago
sigoden 5dabe723ed chore: release v0.9.0 7 months ago
sigoden 9bb259ee96
chore: add issue tempalte model_request.md (#212)
* chore: add issue tempalte model_request.md

* update label
7 months ago
sigoden 7627771e2d
feat: support Qianwen (#211) 7 months ago
sigoden ec1f99fbf5
feat: support Ernie (#210) 7 months ago
sigoden bba5028615
feat: support PaLM (#209) 7 months ago
sigoden 4380b4f20b
refactor: rename azure to azure_openai, improve register_client! (#208) 7 months ago
sigoden 887bf0a744
fix: fix rendering markdown in REPL (#207) 7 months ago