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
a3f63a5e04
chore: release v0.16.0 ( #404 )
2024-04-11 08:34:18 +08: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
c3677e3380
chore: release v0.14.0 ( #341 )
2024-03-07 23:25:54 +08:00
sigoden
2404a619e4
chore: update deps
2024-03-07 15:14:52 +00:00
sigoden
32ce76e4d1
chore: update deps
2024-03-06 01:52:26 +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
b4ab5238ae
chore: update deps and readme
2023-12-25 00:26:42 +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
30e2fd62dc
chore: update deps
2023-11-29 10:38:16 +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
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
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
557bed1459
chore: update Cargo.toml
2023-10-29 08:13:46 +08:00
sigoden
bc44026ff8
feat: enhance session/conversation ( #162 )
...
* feat: enhance session/conversation
* updates
* updates
* cut version v0.9.0-rc2
* add .session name completion
2023-10-28 21:39:17 +08:00
sigoden
0179bef80d
chore: replace atty with is-terminal ( #156 )
2023-10-27 14:42:08 +08:00
sigoden
2b8b696b5a
chore: update ci to support windows arm ( #155 )
2023-10-27 14:26:46 +08:00
sigoden
66fd547c0f
refactor: improve code quanity
...
remove tokio::runtime::Runtime from client
2023-10-26 19:19:22 +08:00
sigoden
7d8564cafb
feat: support multi bots and custom url ( #150 )
2023-10-26 16:42:54 +08:00
sigoden
e09b39def9
chore: downgrade reedline to v0.21.0
...
nushell/reedline#648
2023-10-24 16:24:03 +08:00
sigoden
90bdc1b7db
chore: update deps
2023-10-17 19:37:36 +08:00
sigoden
00ce157571
feat: add .copy
command ( #119 )
2023-05-04 22:42:50 +08:00
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>
2023-05-04 21:22:12 +08:00