sigoden
5458150ed3
fix: json stream parser and refine client modules ( #538 )
2024-05-23 19:28:56 +08:00
sigoden
ba3bcfd67c
feat: allow patching req body with client config ( #534 )
2024-05-22 21:29:23 +08:00
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
2024-05-18 19:06:21 +08:00
sigoden
a75aef459d
feat: remove tiktoken ( #506 )
2024-05-14 15:02:58 +08:00
sigoden
154c1e0b4b
chore: release v0.17.0 ( #497 )
2024-05-14 06:36:10 +08:00
sigoden
c4c948a54c
chore: update deps
2024-05-01 00:02:41 +00:00
sigoden
1f2b626703
feat: support bedrock client ( #450 )
2024-04-28 11:27:06 +08:00
sigoden
0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API ( #431 )
2024-04-24 07:16:56 +08:00
sigoden
1cc89eff51
refactor: more async code ( #427 )
2024-04-23 14:32:06 +08:00
sigoden
8ab57ed74e
refactor: update description for cli options and config fields ( #423 )
2024-04-20 21:07:30 +08:00
sigoden
a3f63a5e04
chore: release v0.16.0 ( #404 )
2024-04-11 08:34:18 +08:00
sigoden
8feaf2a93d
refactor: adjust client order
2024-04-10 23:54:38 +00:00
sigoden
26ad75c005
chore: update readme and description
2024-04-09 22:41:22 +00:00
sigoden
3a0cafebd9
chore: update description
2024-04-08 13:58:08 +00:00
sigoden
ccc5f864f1
chore: update readme and project description
2024-04-08 12:43:08 +00:00
sigoden
78d6e1b1e0
chore: release v0.15.0 ( #387 )
...
* chore: release v0.15.0
* add arm/armv7 releases
* update deps
2024-04-07 22:02:05 +08:00
sigoden
84695b62c6
chore: update deps
2024-03-30 02:44:25 +00:00
sigoden
601288029d
chore: update description and readme
2024-03-11 10:48:54 +00:00
sigoden
c3677e3380
chore: release v0.14.0 ( #341 )
2024-03-07 23:25:54 +08:00
sigoden
f65c18886b
chore: update description
2024-03-06 02:34:44 +00:00
sigoden
32ce76e4d1
chore: update deps
2024-03-06 01:52:26 +00:00
sigoden
b82ae88a15
chore: update project description and README
2024-03-06 01:32:00 +00:00
sigoden
aec1b707af
chore: release v0.13.0
2024-02-25 12:27:30 +00:00
sigoden
21d1be5bed
refactor: improve prompt error handling ( #319 )
2024-02-24 19:13:48 +08:00
sigoden
16b7ac071f
chore: update deps and readme
2024-02-23 08:07:56 +00:00
sigoden
6c0204e696
refactor: change header of messages saved to markdown ( #317 )
2024-02-22 11:39:22 +08:00
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
2024-01-13 19:52:07 +08:00
sigoden
665f7ff4b9
fix: copy on linux wayland ( #288 )
2023-12-28 21:52:45 +08:00
sigoden
0bda6af4dc
chore: release v0.12.0
2023-12-26 00:28:19 +00:00
sigoden
1bb28665f7
chore: update readme and deps
2023-12-20 23:21:17 +00:00
sigoden
6280f5ab4b
feat: qianwen vision models support embeded images ( #277 )
2023-12-20 11:29:52 +08:00
sigoden
e4d301f3d7
fix: pipe failed on macos ( #264 )
2023-12-08 07:42:47 +08:00
sigoden
075631d794
chore: release v0.11.0
2023-11-29 11:00:00 +08:00
sigoden
0afef991f9
chore: update cli description and readme
2023-11-27 18:02:52 +08:00
sigoden
25e545474f
chore: upgrade deps ( #250 )
2023-11-27 14:20:02 +08:00
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
2023-11-27 14:04:50 +08:00
sigoden
542dcfe6f6
feat: extend .read
to support files and messages ( #242 )
2023-11-13 19:53:24 +08:00
sigoden
01cf8acb81
refactor: improve code quanity ( #238 )
2023-11-08 22:20:46 +08:00
sigoden
a8a504e0f0
chore: release v0.10.0
2023-11-08 11:46:30 +08:00
sigoden
534733b77c
fix: unable to build on android using termux ( #222 )
2023-11-07 16:36:40 +08:00
sigoden
5dabe723ed
chore: release v0.9.0
2023-11-06 15:41:00 +08:00
sigoden
dce6877f5d
refactor: optimize render ( #202 )
2023-11-02 21:38:01 +08:00
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
2023-11-01 22:15:55 +08:00
sigoden
8d76fc77fb
refactor: use reqwest-eventsource as sse client
2023-11-01 13:24:50 +08:00
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
2023-11-01 10:28:54 +08:00
sigoden
680670e834
feat: support custom theme ( #187 )
2023-10-31 09:06:41 +08:00
sigoden
2203163938
chore: update readme and cli help
2023-10-30 17:10:52 +08:00
sigoden
f2c9f00bda
fix: detect light theme only by env var ( #177 )
2023-10-30 11:45:07 +08:00
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
2023-10-30 10:07:01 +08:00
sigoden
1ced15a209
feat: autodetect light theme on unix-like os ( #168 )
2023-10-29 17:22:23 +08:00