JustSong
|
fa0fedff5c
|
chore: pass through error out
|
2023-09-03 21:31:58 +08:00 |
|
JustSong
|
cf0ae05d50
|
feat: add batch update support (close #414)
|
2023-09-03 14:58:20 +08:00 |
|
JustSong
|
393443dd16
|
Revert "fix: add lock when update quota (close #399)"
This reverts commit 7216aabedc.
|
2023-08-13 00:51:48 +08:00 |
|
JustSong
|
7216aabedc
|
fix: add lock when update quota (close #399)
|
2023-08-12 18:25:18 +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
|
b7a89340e1
|
chore: format logs
|
2023-06-22 10:59:01 +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
|
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
|
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
|
91e5f3d9e0
|
feat: support dummy sk- prefix for token (#82)
|
2023-05-17 17:04:06 +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
|
929f87d11a
|
fix: delete a token with a negative quota will now update the account's quota correctly (close #51)
|
2023-05-11 20:05:49 +08:00 |
|
JustSong
|
7bd4c0e490
|
fix: return quota to user when delete token (close #37)
|
2023-05-04 10:20:39 +08:00 |
|
JustSong
|
bcdfb7d0d9
|
feat: now use token as the unit of quota (close #33)
|
2023-04-28 16:58:55 +08:00 |
|
JustSong
|
aa18ac4864
|
refactor: use quota instead of times
|
2023-04-28 14:57:20 +08:00 |
|
JustSong
|
4bcc5f54f2
|
fix: fix MySQL syntax error (#54)
|
2023-04-27 11:10:10 +08:00 |
|
JustSong
|
a751f30316
|
fix: specify type for token (close #23)
|
2023-04-27 09:32:20 +08:00 |
|
JustSong
|
be2b3f3fc6
|
feat: now user can top up via redemption code (close #9)
|
2023-04-26 17:02:26 +08:00 |
|
JustSong
|
b612efe349
|
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
|
5e20246e65
|
fix: update error message to make it more clear (#13)
|
2023-04-25 15:13:25 +08:00 |
|
JustSong
|
db95445a86
|
feat: able to set the token's expiration time and number of uses
|
2023-04-24 20:52:40 +08:00 |
|
JustSong
|
12aa6c352b
|
Relay done but not working
|
2023-04-23 18:24:11 +08:00 |
|
JustSong
|
9ca6adf4a1
|
Able to manage token now
|
2023-04-23 12:43:10 +08:00 |
|
JustSong
|
466cdbf1af
|
Token API done without verification
|
2023-04-23 11:31:00 +08:00 |
|