Commit Graph

1341 Commits

Author SHA1 Message Date
JustSong
b8d73cb6af fix: limit the length of email 2023-06-17 15:44:04 +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
589243cd9b fix: fix footer not updated asap 2023-06-17 11:03:01 +08:00
Joe
3e965dd5d4 feat: support update AIProxy balance (#171)
* Add: support update AIProxy balance

* fix auth header

* chore: update balance renderer

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 10:08:04 +08:00
JustSong
0b3efe574b feat: record used quota & request count (close #102, #165) 2023-06-16 15:20:06 +08:00
JustSong
569c124b59 feat: able to disable quota consumption recording (close #156) 2023-06-15 16:32:16 +08:00
JustSong
fe4554a739 fix: fix file not committed 2023-06-14 12:52:56 +08:00
JustSong
d27698eedf feat: now one channel can belong to multiple groups (close #153) 2023-06-14 12:14:08 +08:00
JustSong
2d78cf30a6 fix: fix OpenAI-SB balance not correct 2023-06-12 09:40:49 +08:00
quzard
ba95b357d1 feat: add support for updating balance of channel typpe OpenAI-SB (#146, close #125)
* Add support for updating channel balance in OpenAISB

* fix: handel error

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-11 21:04:41 +08:00
JustSong
ff1380ef87 chore: add trailing slash for API calling 2023-06-11 16:33:40 +08:00
JustSong
1e791392f2 feat: able to set group ratio now (close #62, close #142) 2023-06-11 11:08:16 +08:00
JustSong
2c6425a32c feat: now able to check all user's log 2023-06-10 20:40:23 +08:00
JustSong
0b237f3642 chore: add more log types 2023-06-10 16:31:40 +08:00
JustSong
532b60f753 feat: now user can check its topup & consume history (close #78, close #95) 2023-06-10 16:04:04 +08:00
JustSong
a04afb22ea feat: support set proxy for channel OpenAI (close #139) 2023-06-09 18:30:01 +08:00
JustSong
64883ea799 fix: able to manage root user now 2023-06-08 09:28:06 +08:00
JustSong
d5634ee7e7 feat: able to manage group now 2023-06-08 09:26:54 +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
2a7462e081 chore: update config prompt (close #133) 2023-06-01 18:15:53 +08:00
JustSong
bc4c572b41 style: fix UI related problems 2023-05-22 22:41:39 +08:00
JustSong
eef09897f8 style: add positive attribute to submit buttons (close #113) 2023-05-22 22:30:11 +08:00
JustSong
128c84b338 feat: support channel remain quota query (close #79) 2023-05-21 16:09:54 +08:00
JustSong
38ecd5cd93 fix: show bind options only available (close #65) 2023-05-21 11:22:28 +08:00
JustSong
ea395dd9c0 chore: prompt user if redemption code not input 2023-05-21 10:32:47 +08:00
JustSong
5b82990f13 style: add comma to quota stat 2023-05-21 10:15:30 +08:00
JustSong
8a7f597048 feat: able to manage user's quota now 2023-05-21 10:01:02 +08:00
JustSong
911e59c343 feat: support channel AI Proxy now 2023-05-20 17:24:56 +08:00
JustSong
a241c5a6b3 chore: set default value for Azure's api version if not set 2023-05-19 22:13:29 +08:00
JustSong
05de29c830 feat: support channel ai.ls now (close #99) 2023-05-19 11:07:17 +08:00
JustSong
e07eb017f7 fix: limit the shown text's length (close #80) 2023-05-16 21:33:59 +08:00
JustSong
fa2bac9a9e chore: update input label 2023-05-16 16:23:07 +08:00
JustSong
e54906ef11 feat: disable operations for root user (close #76) 2023-05-16 15:38:03 +08:00
JustSong
146ab7d299 feat: able to set pre consumed quota now 2023-05-16 13:57:01 +08:00
JustSong
4a2a0fe818 fix: fix topup page now showing 2023-05-16 12:09:33 +08:00
JustSong
c1754f777d chore: update prompt 2023-05-16 11:58:26 +08:00
JustSong
bcb4862a19 refactor: bind quota to account instead of token (close #64, #31) 2023-05-16 11:26:09 +08:00
JustSong
349aca5819 feat: show users' remaining quota in user management page (close #46) 2023-05-16 11:08:41 +08:00
JustSong
fa2d80c674 fix: fix option update logic not working properly 2023-05-16 10:04:39 +08:00
JustSong
ca3ab4055c fix: fix tab icon & title not changed (close #69) 2023-05-15 21:15:21 +08:00
JustSong
f43a810e8d feat: automatically disable channel when error occurred (#59) 2023-05-15 17:34:09 +08:00
JustSong
b1074b43d6 feat: add refresh button 2023-05-15 16:20:01 +08:00
JustSong
233d67a08b chore: only show two digits 2023-05-15 12:56:28 +08:00
JustSong
93b00d62a6 feat: able to test all enabled channels (#59) 2023-05-15 12:36:55 +08:00
JustSong
210952bd1e feat: save response time & test time (#59) 2023-05-15 11:35:38 +08:00
JustSong
d0d3142edb feat: able to test channels now (#59) 2023-05-15 10:48:52 +08:00
JustSong
bfcb9b887e feat: double check before deletion 2023-05-15 10:41:48 +08:00
JustSong
6eb288260d feat: able to customize system name & logo now 2023-05-14 19:29:02 +08:00
JustSong
09ed289762 feat: able to use any link as about page (#60) 2023-05-14 18:58:54 +08:00