Commit Graph

372 Commits

Author SHA1 Message Date
sigoden
369cf9a36a refactor: minor refinement 2024-05-14 06:13:42 +00:00
sigoden
79d0bba640
feat: allow binding model to the role (#505) 2024-05-14 12:43:16 +08:00
sigoden
5284a18248
refactor: config::Input (#503) 2024-05-14 11:16:55 +08:00
sigoden
1e8fc5d269
refactor: list roles includeing builtin roles (#499) 2024-05-11 09:23:59 +08:00
sigoden
058299e500 refactor: refine detect code block 2024-05-09 22:59:06 +00:00
sigoden
be7bae0475 refactor: improve revise command execution 2024-05-09 03:40:16 +00:00
sigoden
bc65e880be
feat: enhence roles with messages (#495) 2024-05-09 11:24:02 +08:00
sigoden
84fab36a1f
refactor: split /data.json into /v1/models and /v1/roles (#494) 2024-05-08 14:04:46 +08:00
sigoden
7762cd6bed
refactor: model pass_max_tokens (#493) 2024-05-08 13:46:26 +08:00
sigoden
956a960390
feat: support zhipuai client (#491) 2024-05-07 16:40:18 +08:00
sigoden
0071d84aa5
feat: support deepseek client (#490) 2024-05-07 16:16:18 +08:00
sigoden
5b33c7356f
refactor: update --serve description (#489) 2024-05-07 10:17:40 +08:00
sigoden
85ad276a29
feat: support playground/arena webui (#487) 2024-05-07 09:12:18 +08:00
sigoden
7c6f75a139
refactor: unified access token management (#486) 2024-05-06 09:08:49 +08:00
sigoden
9b283024b4
feat: extract vertexai-claude client (#485) 2024-05-06 08:19:42 +08:00
sigoden
82a9ef024d
refactor: aware of lowercase https_proxy/all_proxy (#484) 2024-05-05 07:04:53 +08:00
sigoden
1ff0553c2f
refactor: no spinner for aichat -e if no terminal stdout (#483) 2024-05-05 06:45:33 +08:00
sigoden
12b5b90bbc chore: clippy 2024-05-02 14:33:04 +00:00
sigoden
c44c8cb42d
refactor: render multiline indicator (#479) 2024-05-02 21:00:43 +08:00
Tatsuya Kyushima
ebad4bb888
chore: fix typos (#476) 2024-05-02 17:17:50 +08:00
sigoden
b6957ae3af
refactor: improve serve (#477) 2024-05-02 17:02:17 +08:00
sigoden
ca425d2585
refactor: .file splits files/text args in windows os (#473) 2024-05-01 16:54:47 +08:00
sigoden
e3116280c6
refactor: .file repl command files/text split (#472) 2024-05-01 16:00:48 +08:00
sigoden
5eae392dbd
refactore: add models for openai-compatible platforms (#471) 2024-05-01 06:01:10 +08:00
sigoden
8aa18b59f5
refactor: update azure-openai api version (#470) 2024-04-30 16:28:36 +08:00
sigoden
8dba46becf
feat: openai-compatible platforms share the same client (#469) 2024-04-30 12:52:58 +08:00
sigoden
8a65337d59
feat: add .set max_output_tokens (#468) 2024-04-30 08:57:22 +08:00
sigoden
e7fa6c5a20 refactor: improve code quality 2024-04-30 00:25:35 +00:00
sigoden
a50b32ca21
feat: support more openai compatiable clients (#467) 2024-04-30 08:09:46 +08:00
sigoden
97f6d48c42 refactor: check res status code 2024-04-29 23:09:19 +00:00
sigoden
50eac8b594
feat: support replicate client (#466) 2024-04-30 07:07:09 +08:00
sigoden
4d4a100fe6
refactor: sse handling (#465) 2024-04-29 23:04:25 +08:00
sigoden
4d1c53384b
refactor: prompts for generating config file (#463) 2024-04-29 19:28:54 +08:00
sigoden
c752ba9b27
feat: .model repl completions show max tokens and price (#462) 2024-04-29 15:34:24 +08:00
sigoden
3a00fb283e refactor: user config models replace client builtin models 2024-04-29 05:24:10 +00:00
sigoden
602494b650
refactor: merge config models, update client models (#460) 2024-04-29 11:57:02 +08:00
sigoden
8433b1fcd7 chore: update help-texts/warnings in repl 2024-04-29 02:47:00 +00:00
sigoden
34041a976c
feat: support cloudflare client (#459) 2024-04-29 09:27:11 +08:00
sigoden
68882ecd4d
refactor: abstract event stream handling (#458) 2024-04-29 08:43:23 +08:00
sigoden
37a0cd08a9
refactor: rename some structs (#457) 2024-04-29 08:33:17 +08:00
sigoden
865be2bf75
feat: non-streaming returns completion stats (#456) 2024-04-29 06:51:03 +08:00
sigoden
b33e2da75e
refactor: improve serve responses (#455) 2024-04-28 20:37:46 +08:00
sigoden
d9b8eabf23
feat: add --prompt option (#454) 2024-04-28 19:18:56 +08:00
sigoden
0c74bd5d15 chore: fix typo 2024-04-28 07:34:20 +00:00
sigoden
212ff1674e refactor: minor improvements
- config.example.yaml comments
- `--serve` description
- No model error
2024-04-28 06:43:17 +00:00
sigoden
7bda1eace2
refactor: rename ollama config field api_key => api_auth (#453) 2024-04-28 13:54:51 +08:00
sigoden
338b0438dc
feat: run without config file by set AICHAT_CLIENT_TYPE (#452) 2024-04-28 13:28:24 +08:00
sigoden
1f2b626703
feat: support bedrock client (#450) 2024-04-28 11:27:06 +08:00
sigoden
615bab215b
feat: support vertexai claude (#439) 2024-04-28 10:55:41 +08:00
sigoden
d6df1e84a7
refactor: extract prelude models to models.yaml (#451) 2024-04-28 10:14:12 +08:00