Commit Graph

89 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 8ab57ed74e
refactor: update description for cli options and config fields (#423) 1 month ago
sigoden a3f63a5e04
chore: release v0.16.0 (#404) 1 month ago
sigoden 8feaf2a93d refactor: adjust client order 1 month ago
sigoden 26ad75c005 chore: update readme and description 1 month ago
sigoden 3a0cafebd9 chore: update description 1 month ago
sigoden ccc5f864f1 chore: update readme and project description 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 601288029d chore: update description and readme 2 months ago
sigoden c3677e3380
chore: release v0.14.0 (#341) 2 months ago
sigoden f65c18886b chore: update description 3 months ago
sigoden 32ce76e4d1 chore: update deps 3 months ago
sigoden b82ae88a15 chore: update project description and README 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 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 0afef991f9 chore: update cli description and readme 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 534733b77c
fix: unable to build on android using termux (#222) 7 months ago
sigoden 5dabe723ed chore: release v0.9.0 7 months ago
sigoden dce6877f5d
refactor: optimize render (#202) 7 months ago
sigoden f6da06dad9
refactor: improve code quanity (#194)
- extends ModelInfo for tokens calculating
- refactor config/session.rs, improve export, render, getter/setter
- modify main.rs, allow --model override session.model
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 1ced15a209
feat: autodetect light theme on unix-like os (#168) 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