Commit Graph

585 Commits

Author SHA1 Message Date
sigoden
8aa18b59f5
refactor: update azure-openai api version (#470) 2024-04-30 16:28:36 +08:00
sigoden
83ca74bf8a chore: minor refinement 2024-04-30 05:16:45 +00: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
ffb0af8236
refactor: add some openai-compatiable platforms to config.example.yaml (#464) 2024-04-29 20:08:59 +08:00
sigoden
4d1c53384b
refactor: prompts for generating config file (#463) 2024-04-29 19:28:54 +08:00
sigoden
4ddccc361c refactor: update groq models at models.yaml 2024-04-29 09:05:19 +00: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
4b205c4bac chore: add Argcfile.sh 2024-04-28 10:09:37 +00:00
sigoden
72d1e5958d chore: add openai-compatible platforms to config.example.yaml 2024-04-28 07:34:31 +00: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
sigoden
eac01fb129 refactor: rename macro to openai_compatible_client 2024-04-26 02:35:03 +00:00
sigoden
740ca2413a
refactor: simplify impl client trait (#445) 2024-04-26 07:43:35 +08:00
sigoden
a21e1213cc
feat: support perplexity (#444) 2024-04-26 06:57:23 +08:00
sigoden
503ec98bd1
feat: support moonshot again (#442) 2024-04-25 21:19:04 +08:00
sigoden
29a4ffd514
feat: support groq (#441) 2024-04-25 20:59:56 +08:00
sigoden
e5432ff779
refactor: simplify openai compatible module (#440) 2024-04-25 20:41:25 +08:00
sigoden
1a56e38fe2
refactor: fix typo and some error message (#438) 2024-04-25 14:39:31 +08:00
sigoden
a193710a7f
refactor: extract common catch_error (#437) 2024-04-25 14:03:16 +08:00
sigoden
4db9b30980
refactor: rewrite list models of all clients (#436) 2024-04-25 10:15:54 +08:00
sigoden
8dacea4deb
refactor: update mistral models (#435) 2024-04-24 21:17:01 +08:00
sigoden
b62e8e1625 refactor: update ollama chat_endpoint in example config file 2024-04-24 13:00:05 +00:00
sigoden
b06ebc45c2 refactor: adjust order of execute actions 2024-04-24 09:12:14 +00:00
sigoden
6e73d25bfe refactor: change default address for api serveing 2024-04-24 08:48:41 +00:00
sigoden
a17f349daa
feat: support customizing top_p parameter (#434) 2024-04-24 16:12:38 +08:00
sigoden
040c48b9b3
refactor: handling of response error (#433) 2024-04-24 12:38:59 +08:00
sigoden
2fd12abc8c chore: update issue templates 2024-04-24 02:56:50 +00:00
sigoden
a98248678a chore: update issue templates 2024-04-24 02:52:22 +00:00
sigoden
4f8d895154
refactor: handling of system message (#432) 2024-04-24 07:56:24 +08:00
sigoden
0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API (#431) 2024-04-24 07:16:56 +08:00