Commit Graph

128 Commits

Author SHA1 Message Date
mrhaoji
c92d2a3c72 fix: restore display_name/username that deleted before (#268)
which happend in commit # 2c91f73
2023-07-12 22:43:54 +08:00
JustSong
16b6ace078 feat: able to approximate token (close #207) 2023-07-04 19:54:13 +08:00
mrhaoji
2c91f73a92 chore: remove email in UsersTable to make room for other fields (#246)
* chore: remove email in UsersTable to make room for others

* fix: fix not working properly

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-04 18:57:44 +08:00
JustSong
083bfecf3b chore: update channel add & edit page 2023-07-04 18:40:36 +08:00
Cross Fire
3b247077d2 feat: support balance query for CloseAI (#240)
* 增加CloseAI余额查询功能

* 去除debug代码

* fix: bug fix

* docs: update README

---------

Co-authored-by: sudongyang <sudongyang@xiaomi.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-03 20:43:42 +08:00
JustSong
84ce8c4b02 chore: set the default token quota to 1$ 2023-07-02 16:45:42 +08:00
JustSong
e782962a31 fix: fix refresh not working properly (close #229) 2023-07-02 15:55:49 +08:00
Alone88
244ca0351f feat: support channel type AIGC2D (#220)
* feat: add AIGC2D Channel

* chore: remove console logging & update balance rendering

---------

Co-authored-by: Alone88 <im@aloen88.cn>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-29 21:34:17 +08:00
JustSong
580de07735 fix: fix AutomaticDisableChannelEnabled option not ignored (close #217) 2023-06-29 15:54:12 +08:00
mrhaoji
390dbc54fd chore: more hints in model mapping textarea (#205)
* chore: more hints in model mapping textarea

* fix: fix variable not defined

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-28 12:56:01 +08:00
JustSong
1ab01b7eb5 feat: support model remap now 2023-06-27 13:42:45 +08:00
mrhaoji
5974d4edbc chore: show equivalent amount next to remaining quota in the user editing page (#198) 2023-06-25 11:54:05 +08:00
quzard
fc85539222 fix: fix log sorting (#195) 2023-06-24 21:34:20 +08:00
JustSong
8b8645af45 fix: do not reuse state variable directly 2023-06-24 19:45:18 +08:00
JustSong
536cbe4c8b fix: reset page number after query 2023-06-24 19:32:46 +08:00
JustSong
baab9c71ac feat: able to query token with admin user 2023-06-24 19:13:33 +08:00
JustSong
d3706ea65a chore: adjust table width 2023-06-24 15:42:16 +08:00
JustSong
e4f7ac4089 feat: able to query logs now (close #144) 2023-06-24 15:28:11 +08:00
JustSong
e873c305f3 feat: show used quota in token table 2023-06-23 21:42:31 +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
aaafbe0adf chore: use notice to show password (#107) 2023-06-23 10:42:47 +08:00
JustSong
d36a887ffc feat: support search channels by key (close #185) 2023-06-22 21:19:43 +08:00
JustSong
56ac6445b1 chore: able to clear all models now 2023-06-22 20:53:21 +08:00
JustSong
dd87d0a47f chore: update base url setting 2023-06-22 20:49:55 +08:00
quzard
b90b8a9d8c fix: fix channel table's sorting problem (#188) 2023-06-21 23:42:55 +08:00
JustSong
17bd2d0c5b fix: do not show dollar balance if not enabled 2023-06-21 15:45:30 +08:00
JustSong
cded36439e chore: update prompt 2023-06-21 00:20:48 +08:00
JustSong
c32aa170cd feat: support custom base url for channels 2023-06-20 22:32:56 +08:00
JustSong
a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
JustSong
6696b89f74 chore: update description 2023-06-19 16:04:35 +08:00
JustSong
282753dc12 chore: make the user unable to search token by id 2023-06-19 10:04:38 +08:00
JustSong
946aa77347 refactor: make operation settings separated from system settings 2023-06-19 09:53:56 +08:00
JustSong
5fc5cdf2c9 chore: hide token id for user 2023-06-19 09:13:38 +08:00
JustSong
b4142308c5 feat: able to add chat page link now (close #70) 2023-06-17 23:51:56 +08:00
JustSong
7a671d49a5 chore: update prompt 2023-06-17 19:33:25 +08:00
JustSong
27edc58d4a fix: reduce the table size (close #174) 2023-06-17 19:23:25 +08:00
JustSong
f123eaf379 feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00
JustSong
b8d73cb6af fix: limit the length of email 2023-06-17 15:44:04 +08:00
Kidultx
9f3c756a88 feat: support API2GPT platform (#173)
* support API2GPT platform

* chore: update balance renderer

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 15:20:51 +08:00
JustSong
589243cd9b fix: fix footer not updated asap 2023-06-17 11:03:01 +08:00
Joe
3e965dd5d4 feat: support update AIProxy balance (#171)
* Add: support update AIProxy balance

* fix auth header

* chore: update balance renderer

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 10:08:04 +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
fe4554a739 fix: fix file not committed 2023-06-14 12:52:56 +08:00
JustSong
d27698eedf feat: now one channel can belong to multiple groups (close #153) 2023-06-14 12:14:08 +08:00
JustSong
2d78cf30a6 fix: fix OpenAI-SB balance not correct 2023-06-12 09:40:49 +08:00
quzard
ba95b357d1 feat: add support for updating balance of channel typpe OpenAI-SB (#146, close #125)
* Add support for updating channel balance in OpenAISB

* fix: handel error

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-11 21:04:41 +08:00
JustSong
ff1380ef87 chore: add trailing slash for API calling 2023-06-11 16:33:40 +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