Commit Graph

428 Commits

Author SHA1 Message Date
JustSong
baab9c71ac feat: able to query token with admin user 2023-06-24 19:13:33 +08:00
JustSong
e4f7ac4089 feat: able to query logs now (close #144) 2023-06-24 15:28:11 +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
d36a887ffc feat: support search channels by key (close #185) 2023-06-22 21:19: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
02bc73066c feat: do not access database before response return (close #158) 2023-06-21 17:26:26 +08:00
JustSong
6c579a6053 feat: select channel without database (#158) 2023-06-21 17:04:18 +08:00
JustSong
64a6ce6383 chore: update api message 2023-06-21 15:55:00 +08:00
JustSong
cdc91ccb0c chore: update api message 2023-06-21 15:54:06 +08:00
JustSong
27d33d2392 fix: fix crash when Redis is enabled 2023-06-20 20:56:35 +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
282753dc12 chore: make the user unable to search token by id 2023-06-19 10:04:38 +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
8979961a83 feat: record channel's used quota (close #137) 2023-06-16 16:02:00 +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
d27698eedf feat: now one channel can belong to multiple groups (close #153) 2023-06-14 12:14:08 +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
ac11307faf refactor: enable model configuration on default group (close #143) 2023-06-09 18:05:51 +08:00
JustSong
70370e4035 feat: able to check topup history & consumption history (#78, #95) 2023-06-09 16:59:00 +08:00
JustSong
3cc22de857 fix: fix redemption code's quota not updated 2023-06-08 15:19:55 +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
128c84b338 feat: support channel remain quota query (close #79) 2023-05-21 16:09:54 +08:00
JustSong
08a628a7f8 chore: set initial quota for root user 2023-05-21 10:05:34 +08:00
JustSong
8a7f597048 feat: able to manage user's quota now 2023-05-21 10:01:02 +08:00
JustSong
44b9d7a134 feat: now slave server can sync options with master server (close #88) 2023-05-18 12:48:20 +08:00
JustSong
91e5f3d9e0 feat: support dummy sk- prefix for token (#82) 2023-05-17 17:04:06 +08:00
JustSong
146ab7d299 feat: able to set pre consumed quota now 2023-05-16 13:57:01 +08:00
JustSong
afbf20b5ba fix: fix quota not consuming 2023-05-16 13:29:22 +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
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
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
80176fdfe8 feat: able to customize home page now (#24) 2023-05-13 21:27:49 +08:00
JustSong
6cb284c8fd feat: able to configure smtp from now (close #34) 2023-05-13 18:33:41 +08:00
JustSong
bc87b023f5 feat: support batch creation of channels (close #58) 2023-05-13 17:08:13 +08:00
JustSong
9ed9eaa65f feat: support specific default api version now (#57) 2023-05-13 12:53:57 +08:00
JustSong
17f1714256 fix: handle errors when update option map 2023-05-13 10:30:55 +08:00