Commit Graph

24 Commits

Author SHA1 Message Date
MartialBE
021f8c65da
🔖 chore: Remove invalid code 2024-05-29 04:38:56 +08:00
MartialBE
3d8a51e139
🔖 chore: migration constants 2024-05-29 01:56:14 +08:00
MartialBE
79524108a3
🔖 chore: Rename relay/util to relay/relay_util package and add utils package 2024-05-29 00:36:54 +08:00
Martial BE
317e0a6370
🐛 fix: playground gets token without verifying user's identity 2024-04-28 10:25:33 +08:00
Martial BE
801b98d6fc
♻️ refactor: Refactor chat links 2024-04-27 20:50:36 +08:00
Buer
3c7c13758b
feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
Buer
57cd68e7e3
feat: support paging / sorting (#64)
*  feat: support paging / sorting

* 🔥 del: delete unused files
2024-02-08 03:41:51 +08:00
Martial BE
eeb867da10
🎨 Change the method of getting channel parameters 2023-12-26 16:40:50 +08:00
JustSong
2a527ee436 fix: fix token name too long 2023-08-12 16:58:29 +08:00
Yolo°
c58f710227
feat: improve frontend (#387)
* fork

* fork

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 10:49:30 +08:00
JustSong
f0c40a6cd0 fix: fix cannot enable token if set to unlimited time (close #230) 2023-07-02 14:47:06 +08:00
JustSong
2847a08852 feat: the format of key is now constant with that of OpenAI 2023-06-03 10:53:25 +08:00
JustSong
ea8e7c517b fix: fix token quota not updated 2023-05-16 12:09:17 +08:00
JustSong
01abed0a30 refactor: bind quota to account instead of token (close #64, #31) 2023-05-16 11:26:09 +08:00
JustSong
e6af636fa0 fix: the initial quota for new token now calculated correctly (#51) 2023-05-11 21:29:05 +08:00
JustSong
3071300c0c feat: support API /dashboard/billing/credit_grants now (#45) 2023-05-10 09:28:41 +08:00
JustSong
601fa5cea8 refactor: use quota instead of times 2023-04-28 14:57:20 +08:00
JustSong
b9cc5dfa3f feat: able to set initial quota for new user (close #22) 2023-04-26 21:40:56 +08:00
JustSong
9e2f2383b9 feat: now user can top up via redemption code (close #9) 2023-04-26 17:02:26 +08:00
JustSong
03491029f2 feat: limit the ability of common user to set the remaining usage times of token (#9) 2023-04-26 11:10:14 +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
918ba60802 feat: able to set the token's expiration time and number of uses 2023-04-24 20:52:40 +08:00
JustSong
63da6dc6a0 Able to manage token now 2023-04-23 12:43:10 +08:00
JustSong
b908229429 Token API done without verification 2023-04-23 11:31:00 +08:00