Commit Graph

10 Commits

Author SHA1 Message Date
JustSong
053bb85a1c feat: now use token as the unit of quota (close #33) 2023-04-28 16:58:55 +08:00
JustSong
601fa5cea8 refactor: use quota instead of times 2023-04-28 14:57:20 +08:00
JustSong
54b1e4adef fix: check user status when validating token (#23) 2023-04-27 15:05:33 +08:00
JustSong
8c305dc1bc feat: able to manage system vai access token (close #12) 2023-04-26 20:54:39 +08:00
JustSong
4f8cbd643d fix: prevent common user from specifying channel id (#12) 2023-04-26 14:49:27 +08:00
JustSong
f16a2a5645 feat: redirect to login page if login expired (close #18) 2023-04-26 11:42:56 +08:00
JustSong
109736cc05 fix: only reduce remain times when request /v1/chat/completions (close #15)
BREAKING CHANGE: now remain_times is -1 doesn't mean unlimited times anymore!
2023-04-26 10:45:34 +08:00
JustSong
852af57c03 Relay done but not working 2023-04-23 18:24:11 +08:00
JustSong
539eac217f Rename to One API 2023-04-22 21:14:09 +08:00
JustSong
ab1f8a2bf4
Initial commit 2023-04-22 20:39:27 +08:00