Commit Graph

26 Commits

Author SHA1 Message Date
CaIon
add3b05da4 chore: reformat code 2024-03-15 16:05:33 +08:00
CaIon
8d9e04427b feat: 可设置令牌能调用的模型 2024-01-08 16:25:17 +08:00
CaIon
4bd1468420 视觉优化 2023-12-01 01:30:24 +08:00
CaIon
b7ac0b18d0 更新用户管理界面UI 2023-11-27 22:43:46 +08:00
CaIon
f08fac740d 修复令牌添加、搜索bug 2023-11-25 17:30:36 +08:00
luxl
9768d73c87 Update EditToken.js 2023-11-19 14:06:08 +08:00
CaIon
4c1a23d65a 完善兑换码界面 2023-11-10 00:10:41 +08:00
CaIon
ed432c5a20 修复令牌bug 2023-11-03 22:38:17 +08:00
CaIon
40c626cb15 完善令牌界面 2023-11-01 02:50:14 +08:00
Yolo°
4e11fcd795 feat: add chat button for each token (#363)
* fork

* fork

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-06 22:02:58 +08:00
JustSong
716af5231a chore: adjust ui 2023-07-29 19:32:06 +08:00
JustSong
84ce8c4b02 chore: set the default token quota to 1$ 2023-07-02 16:45:42 +08:00
JustSong
17bd2d0c5b fix: do not show dollar balance if not enabled 2023-06-21 15:45:30 +08:00
JustSong
a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +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
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
d11134d98f feat: now supports custom smtp port 2023-05-12 11:44:38 +08:00
JustSong
aa18ac4864 refactor: use quota instead of times 2023-04-28 14:57:20 +08:00
JustSong
3c31997c4e style: add bottom margin for unlimited times button 2023-04-27 17:18:07 +08:00
JustSong
512f9e3ac9 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
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
7856da5d4a feat: improve the token edit page 2023-04-25 09:24:02 +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
9ca6adf4a1 Able to manage token now 2023-04-23 12:43:10 +08:00