Commit Graph

77 Commits (main)

Author SHA1 Message Date
sigoden b4a40e3fed
feat: support function calling (#514)
* feat: support function calling

* fix on Windows OS

* implement multi-steps function calling

* fix on Windows OS

* add error for client not support function calling

* refactor message data structure and make claude client supporting function calling

* support reuse previous call results

* improve error handling for function calling

* use prefix `may_`  as indicator for `execute` type fucntions
2 days ago
sigoden a75aef459d
feat: remove tiktoken (#506) 7 days ago
sigoden 154c1e0b4b
chore: release v0.17.0 (#497) 7 days ago
sigoden c4c948a54c chore: update deps 3 weeks ago
sigoden 1f2b626703
feat: support bedrock client (#450) 3 weeks ago
sigoden 0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API (#431) 4 weeks ago
sigoden 1cc89eff51
refactor: more async code (#427) 4 weeks ago
sigoden a3f63a5e04
chore: release v0.16.0 (#404) 1 month ago
sigoden 78d6e1b1e0
chore: release v0.15.0 (#387)
* chore: release v0.15.0

* add arm/armv7 releases

* update deps
1 month ago
sigoden 84695b62c6 chore: update deps 2 months ago
sigoden c3677e3380
chore: release v0.14.0 (#341) 2 months ago
sigoden 2404a619e4 chore: update deps 2 months ago
sigoden 32ce76e4d1 chore: update deps 3 months ago
sigoden aec1b707af chore: release v0.13.0 3 months ago
sigoden 21d1be5bed
refactor: improve prompt error handling (#319) 3 months ago
sigoden 16b7ac071f chore: update deps and readme 3 months ago
sigoden 6c0204e696
refactor: change header of messages saved to markdown (#317) 3 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
4 months ago
sigoden 665f7ff4b9
fix: copy on linux wayland (#288) 5 months ago
sigoden 0bda6af4dc chore: release v0.12.0 5 months ago
sigoden b4ab5238ae chore: update deps and readme 5 months ago
sigoden 1bb28665f7 chore: update readme and deps 5 months ago
sigoden 6280f5ab4b
feat: qianwen vision models support embeded images (#277) 5 months ago
sigoden e4d301f3d7
fix: pipe failed on macos (#264) 5 months ago
sigoden 075631d794 chore: release v0.11.0 6 months ago
sigoden 30e2fd62dc chore: update deps 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 542dcfe6f6
feat: extend `.read` to support files and messages (#242) 6 months ago
sigoden 01cf8acb81
refactor: improve code quanity (#238) 6 months ago
sigoden a8a504e0f0 chore: release v0.10.0 6 months ago
sigoden 5dabe723ed chore: release v0.9.0 7 months ago
sigoden dce6877f5d
refactor: optimize render (#202) 7 months ago
sigoden 8d76fc77fb refactor: use reqwest-eventsource as sse client 7 months ago
sigoden 7f2210dbca
refactor: clients/* and config.rs (#193)
- add register_clients macro to make it easier to add a new client
- no create_client_config, just add const PROMPTS
- move ModelInfo from clients/ to config/
- model's max_tokens are optional
- improve code quanity on config/mod.rs
- add/use macro config_get_fn
7 months ago
sigoden 680670e834
feat: support custom theme (#187) 7 months ago
sigoden 2203163938 chore: update readme and cli help 7 months ago
sigoden f2c9f00bda
fix: detect light theme only by env var (#177) 7 months ago
sigoden b276dfedd2
feat: support textwrap (#171)
* feat: support textwrap

* improve cmd_render_stream

* done cmd_render_stream

* add `-w` alias to `--wrap`

* done repl_render_stream

* add `config.wrap_code`

* remove cached config.wrap_width

* fix unxpected duplicate lines on kitty

* refactor markdown render

* improve render

* fix test
7 months ago
sigoden 557bed1459 chore: update Cargo.toml 7 months ago
sigoden bc44026ff8
feat: enhance session/conversation (#162)
* feat: enhance session/conversation

* updates

* updates

* cut version v0.9.0-rc2

* add .session name completion
7 months ago
sigoden 0179bef80d
chore: replace atty with is-terminal (#156) 7 months ago
sigoden 2b8b696b5a
chore: update ci to support windows arm (#155) 7 months ago
sigoden 66fd547c0f refactor: improve code quanity
remove tokio::runtime::Runtime from client
7 months ago
sigoden 7d8564cafb
feat: support multi bots and custom url (#150) 7 months ago
sigoden e09b39def9 chore: downgrade reedline to v0.21.0
nushell/reedline#648
7 months ago
sigoden 90bdc1b7db chore: update deps 7 months ago
sigoden 00ce157571
feat: add `.copy` command (#119) 1 year ago
shane s cf03952c7b
feat: add `config.auto_copy` (#102)
* added config option to copy all ChatGPT output to clipboard

* formatted with

* updates

---------

Co-authored-by: sigoden <sigoden@gmail.com>
1 year ago
sigoden 065a32decb
feat: support backeted paste (#117) 1 year ago