Commit Graph

62 Commits

Author SHA1 Message Date
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
JustSong
033e832cae feat: able to configure ratio for different models (close #26) 2023-04-28 19:16:37 +08:00
JustSong
0760dcf6cc feat: support configuring ratio when estimating token number in stream mode 2023-04-28 17:25:05 +08:00
JustSong
79dc851aa1 feat: able to set top up link now 2023-04-27 16:32:21 +08:00
JustSong
25ff9ebbe1 fix: remove rate limit for relay api 2023-04-26 21:50:09 +08:00
JustSong
9c529f9674 feat: able to set initial quota for new user (close #22) 2023-04-26 21:40:56 +08:00
JustSong
be2b3f3fc6 feat: now user can top up via redemption code (close #9) 2023-04-26 17:02:26 +08:00