Commit Graph

79 Commits (54a837784c3df7e73c7c95adfef96e68c842984b)

Author SHA1 Message Date
sigoden 5458150ed3
fix: json stream parser and refine client modules (#538) 5 months ago
sigoden ba3bcfd67c
feat: allow patching req body with client config (#534) 5 months ago
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
5 months ago
sigoden a75aef459d
feat: remove tiktoken (#506) 5 months ago
sigoden 154c1e0b4b
chore: release v0.17.0 (#497) 5 months ago
sigoden c4c948a54c chore: update deps 5 months ago
sigoden 1f2b626703
feat: support bedrock client (#450) 5 months ago
sigoden 0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API (#431) 6 months ago
sigoden 1cc89eff51
refactor: more async code (#427) 6 months ago
sigoden a3f63a5e04
chore: release v0.16.0 (#404) 6 months ago
sigoden 78d6e1b1e0
chore: release v0.15.0 (#387)
* chore: release v0.15.0

* add arm/armv7 releases

* update deps
6 months ago
sigoden 84695b62c6 chore: update deps 6 months ago
sigoden c3677e3380
chore: release v0.14.0 (#341) 7 months ago
sigoden 2404a619e4 chore: update deps 7 months ago
sigoden 32ce76e4d1 chore: update deps 7 months ago
sigoden aec1b707af chore: release v0.13.0 8 months ago
sigoden 21d1be5bed
refactor: improve prompt error handling (#319) 8 months ago
sigoden 16b7ac071f chore: update deps and readme 8 months ago
sigoden 6c0204e696
refactor: change header of messages saved to markdown (#317) 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
sigoden 665f7ff4b9
fix: copy on linux wayland (#288) 9 months ago
sigoden 0bda6af4dc chore: release v0.12.0 10 months ago
sigoden b4ab5238ae chore: update deps and readme 10 months ago
sigoden 1bb28665f7 chore: update readme and deps 10 months ago
sigoden 6280f5ab4b
feat: qianwen vision models support embeded images (#277) 10 months ago
sigoden e4d301f3d7
fix: pipe failed on macos (#264) 10 months ago
sigoden 075631d794 chore: release v0.11.0 10 months ago
sigoden 30e2fd62dc chore: update deps 10 months ago
sigoden 25e545474f
chore: upgrade deps (#250) 11 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
11 months ago
sigoden 542dcfe6f6
feat: extend `.read` to support files and messages (#242) 11 months ago
sigoden 01cf8acb81
refactor: improve code quanity (#238) 11 months ago
sigoden a8a504e0f0 chore: release v0.10.0 11 months ago
sigoden 5dabe723ed chore: release v0.9.0 11 months ago
sigoden dce6877f5d
refactor: optimize render (#202) 11 months ago
sigoden 8d76fc77fb refactor: use reqwest-eventsource as sse client 11 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
11 months ago
sigoden 680670e834
feat: support custom theme (#187) 11 months ago
sigoden 2203163938 chore: update readme and cli help 11 months ago
sigoden f2c9f00bda
fix: detect light theme only by env var (#177) 11 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
11 months ago
sigoden 557bed1459 chore: update Cargo.toml 12 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
12 months ago
sigoden 0179bef80d
chore: replace atty with is-terminal (#156) 12 months ago
sigoden 2b8b696b5a
chore: update ci to support windows arm (#155) 12 months ago
sigoden 66fd547c0f refactor: improve code quanity
remove tokio::runtime::Runtime from client
12 months ago
sigoden 7d8564cafb
feat: support multi bots and custom url (#150) 12 months ago
sigoden e09b39def9 chore: downgrade reedline to v0.21.0
nushell/reedline#648
12 months ago
sigoden 90bdc1b7db chore: update deps 12 months ago
sigoden 00ce157571
feat: add `.copy` command (#119) 1 year ago