518 Commits

Author SHA1 Message Date
JustSong
3379ea5e2f feat: support claude now (close #150) 2023-07-22 16:18:03 +08:00
JustSong
8a0f707d64 feat: retry on failed (close #112) 2023-07-15 19:06:51 +08:00
ckt
b1cb2602dc feat: initial support of Dall-E (#148, #266)
* feat: initial support of Dall-E

* fix: fix N not timed

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-07-15 12:30:06 +08:00
JustSong
16b6ace078 feat: able to approximate token (close #207) 2023-07-04 19:54:13 +08:00
Cross Fire
3b247077d2 feat: support balance query for CloseAI (#240)
* 增加CloseAI余额查询功能

* 去除debug代码

* fix: bug fix

* docs: update README

---------

Co-authored-by: sudongyang <sudongyang@xiaomi.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-03 20:43:42 +08:00
Alone88
244ca0351f feat: support channel type AIGC2D (#220)
* feat: add AIGC2D Channel

* chore: remove console logging & update balance rendering

---------

Co-authored-by: Alone88 <im@aloen88.cn>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-29 21:34:17 +08:00
JustSong
fe6bd3a273 fix: fix wrong env var name 2023-06-27 23:34:23 +08:00
JustSong
4cef57fec2 chore: update default ratio for text-embedding-ada-002 2023-06-25 12:07:42 +08:00
JustSong
24bdbe117a feat: able to display token billing stat via billing api (close #186) 2023-06-23 20:14:53 +08:00
JustSong
6bea2724e4 feat: support automatic channel testing & balance updates (close #11, close #59) 2023-06-22 22:01:03 +08:00
JustSong
c90fc7e0d6 chore: use NODE_TYPE to determine node type 2023-06-22 20:39:17 +08:00
JustSong
5c118a83f7 fix: disable redis on master node 2023-06-22 20:12:43 +08:00
JustSong
b7a89340e1 chore: format logs 2023-06-22 10:59:01 +08:00
JustSong
b0b0ed2013 chore: print more logs 2023-06-22 01:12:28 +08:00
JustSong
64d026fc1a fix: only master node can migrate database 2023-06-22 00:52:27 +08:00
JustSong
a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
JustSong
b220e8e863 feat: use cache to avoid database access (#158) 2023-06-20 19:09:49 +08:00
JustSong
23e901fd6a chore: set the fallback model ratio to 30 2023-06-18 22:28:28 +08:00
JustSong
b4142308c5 feat: able to add chat page link now (close #70) 2023-06-17 23:51:56 +08:00
JustSong
f123eaf379 feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00
JustSong
78b1387239 chore: update api endpoint for CloseAI 2023-06-17 15:54:14 +08:00
Kidultx
9f3c756a88 feat: support API2GPT platform (#173)
* support API2GPT platform

* chore: update balance renderer

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 15:20:51 +08:00
JustSong
569c124b59 feat: able to disable quota consumption recording (close #156) 2023-06-15 16:32:16 +08:00
JustSong
0e85d0af78 chore: update gpt3.5 completion ratio 2023-06-14 09:41:06 +08:00
JustSong
8dda3fd21c feat: add new released models 2023-06-14 09:12:14 +08:00
JustSong
284666853b fix: fix group list not correct (close #147) 2023-06-12 09:11:48 +08:00
JustSong
1e791392f2 feat: able to set group ratio now (close #62, close #142) 2023-06-11 11:08:16 +08:00
JustSong
e479f43c52 feat: support /v1/moderations now (close #117) 2023-06-11 09:37:36 +08:00
JustSong
70370e4035 feat: able to check topup history & consumption history (#78, #95) 2023-06-09 16:59:00 +08:00
JustSong
33cb8e4b8c feat: support /v1/completions (close #115) 2023-06-08 14:54:02 +08:00
JustSong
cbf339284c feat: support group now (close #17, close #72, close #85, close #104, close #136)
Co-authored-by: quzard <1191890118@qq.com>
2023-06-07 23:26:00 +08:00
JustSong
4172e9b682 feat: the format of key is now constant with that of OpenAI 2023-06-03 10:53:25 +08:00
JustSong
0ba5ff9d42 feat: PaLM support is WIP (#105) 2023-05-21 14:26:59 +08:00
JustSong
911e59c343 feat: support channel AI Proxy now 2023-05-20 17:24:56 +08:00
JustSong
05de29c830 feat: support channel ai.ls now (close #99) 2023-05-19 11:07:17 +08:00
JustSong
10bb67f828 fix: update api2d's base url (#83) 2023-05-17 18:47:25 +08:00
JustSong
146ab7d299 feat: able to set pre consumed quota now 2023-05-16 13:57:01 +08:00
JustSong
bcb4862a19 refactor: bind quota to account instead of token (close #64, #31) 2023-05-16 11:26:09 +08:00
JustSong
fa2d80c674 fix: fix option update logic not working properly 2023-05-16 10:04:39 +08:00
JustSong
f43a810e8d feat: automatically disable channel when error occurred (#59) 2023-05-15 17:34:09 +08:00
JustSong
6eb288260d feat: able to customize system name & logo now 2023-05-14 19:29:02 +08:00
JustSong
d4a976d0e6 fix: fix SMTPFrom not updated in some cases (close #34) 2023-05-13 22:04:36 +08:00
JustSong
86117cd704 fix: fix garbled email subject (#34) 2023-05-13 21:41:52 +08:00
JustSong
5792db44c3 fix: support smtp server with port 465 2023-05-13 18:57:27 +08:00
JustSong
6cb284c8fd feat: able to configure smtp from now (close #34) 2023-05-13 18:33:41 +08:00
JustSong
bb13fe818c refactor: rename file to conform to standards 2023-05-13 15:43:55 +08:00
JustSong
badbb0962f refactor: use built in smtp library (close #34) 2023-05-13 15:30:09 +08:00
JustSong
d11134d98f feat: now supports custom smtp port 2023-05-12 11:44:38 +08:00
JustSong
b14b400509 fix: fix the default ratio for text-embedding-ada-002 2023-05-11 22:43:39 +08:00
JustSong
049a6def02 feat: able to configure ratio for more models now (close #53) 2023-05-11 20:59:35 +08:00