Commit Graph

418 Commits

Author SHA1 Message Date
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
sigoden
9c6c9f10a2
feat: builtin models can be overwrited by models config (#429) 2024-04-23 18:14:47 +08:00
sigoden
d1aafa1115
feat: customize model's max_output_tokens (#428) 2024-04-23 16:46:48 +08:00
sigoden
1cc89eff51
refactor: more async code (#427) 2024-04-23 14:32:06 +08:00
sigoden
c5506fe393
refactor: tell user session compression (#426) 2024-04-21 07:57:02 +08:00
sigoden
b3162a72b5
refactor: shell execution with spinner and select prompt (#425) 2024-04-21 06:52:22 +08:00
sigoden
8b75080973 chore: fix typo 2024-04-20 22:26:29 +00:00
sigoden
8ab57ed74e
refactor: update description for cli options and config fields (#423) 2024-04-20 21:07:30 +08:00
sigoden
5d763fc10c
feat: add .prompt repl command (#420) 2024-04-20 09:21:52 +08:00
sigoden
8b806db857
feat: ctrlc won't exit repl and remove ctrlc_exit config (#419) 2024-04-20 07:53:31 +08:00
sigoden
a9a2caf4ae refactor: fluash raw stream 2024-04-19 23:32:43 +00:00
sigoden
5d7c786b7f
feat: remove moonshot client (#418) 2024-04-19 10:55:08 +08:00
sigoden
a0b4f344ee refactor: improve error message for some clients 2024-04-19 02:42:05 +00:00
sigoden
13bd2fe299 chore: update discord invite link 2024-04-18 12:39:43 +00:00
sigoden
e78750412d refactor: adjust command revision prompt 2024-04-18 11:34:19 +00:00
sigoden
b9bde15c1f
feat: add config buffer_editor (#417) 2024-04-18 18:22:15 +08:00
sigoden
9149954c7b
feat: always use stream unless set --no-stream explicitly (#415) 2024-04-15 11:28:25 +08:00
sigoden
16e9c647d4 refactor: adjust indicator text and render strategy 2024-04-14 22:23:01 +00:00