Commit Graph

5444 Commits

Author SHA1 Message Date
JustSong
a0923067dc feat: API /models & /models/:model implemented (close #68) 2023-05-17 10:42:52 +08:00
JustSong
e07eb017f7 fix: limit the shown text's length (close #80) 2023-05-16 21:33:59 +08:00
JustSong
fa2bac9a9e chore: update input label 2023-05-16 16:23:07 +08:00
JustSong
b77eb0c65d perf: use max_tokens to reduce token consuming 2023-05-16 16:22:25 +08:00
JustSong
4a64fede39 feat: support max_tokens now (#52) 2023-05-16 16:18:35 +08:00
JustSong
e54906ef11 feat: disable operations for root user (close #76) 2023-05-16 15:38:03 +08:00
JustSong
146ab7d299 feat: able to set pre consumed quota now 2023-05-16 13:57:01 +08:00
JustSong
afbf20b5ba fix: fix quota not consuming 2023-05-16 13:29:22 +08:00
JustSong
4a2a0fe818 fix: fix topup page now showing 2023-05-16 12:09:33 +08:00
JustSong
49e23ee6d6 fix: fix token quota not updated 2023-05-16 12:09:17 +08:00
JustSong
c1754f777d chore: update prompt 2023-05-16 11:58:26 +08:00
JustSong
9537e47430 feat: add database migration script 2023-05-16 11:36:00 +08:00
JustSong
bcb4862a19 refactor: bind quota to account instead of token (close #64, #31) 2023-05-16 11:26:09 +08:00
JustSong
349aca5819 feat: show users' remaining quota in user management page (close #46) 2023-05-16 11:08:41 +08:00
JustSong
fa2d80c674 fix: fix option update logic not working properly 2023-05-16 10:04:39 +08:00
JustSong
ca3ab4055c fix: fix tab icon & title not changed (close #69) 2023-05-15 21:15:21 +08:00
JustSong
f43a810e8d feat: automatically disable channel when error occurred (#59) 2023-05-15 17:34:09 +08:00
JustSong
b1074b43d6 feat: add refresh button 2023-05-15 16:20:01 +08:00
JustSong
f46f41514c fix: fix lock is not working 2023-05-15 16:19:39 +08:00
JustSong
4f1f170fb9 fix: remove version suffix for Azure (close #67) 2023-05-15 15:48:18 +08:00
JustSong
cb5ccbf5d2 fix: fix /v1/models not working (close #66) 2023-05-15 15:33:34 +08:00
JustSong
0821cd6bf0 ci: build arm version 2023-05-15 15:14:33 +08:00
JustSong
233d67a08b chore: only show two digits 2023-05-15 12:56:28 +08:00
JustSong
93b00d62a6 feat: able to test all enabled channels (#59) 2023-05-15 12:36:55 +08:00
JustSong
b788281a9b ci: remove arm64 image builder 2023-05-15 11:36:50 +08:00
JustSong
210952bd1e feat: save response time & test time (#59) 2023-05-15 11:35:38 +08:00
JustSong
d0d3142edb feat: able to test channels now (#59) 2023-05-15 10:48:52 +08:00
JustSong
bfcb9b887e feat: double check before deletion 2023-05-15 10:41:48 +08:00
JustSong
9985553b3a fix: fix quota not consumed 2023-05-14 20:36:28 +08:00
JustSong
7f31528d77 docs: update README 2023-05-14 19:37:15 +08:00
JustSong
6eb288260d feat: able to customize system name & logo now 2023-05-14 19:29:02 +08:00
JustSong
09ed289762 feat: able to use any link as about page (#60) 2023-05-14 18:58:54 +08:00
JustSong
6cc4784183 perf: load cached about content first (#60) 2023-05-14 16:13:42 +08:00
JustSong
4d9052e483 style: hide scroll bar 2023-05-14 16:02:40 +08:00
JustSong
d43331c14c chore: fix typo 2023-05-14 16:01:04 +08:00
JustSong
0b636e210c feat: able to customize home page with link (close #60) 2023-05-14 15:34:14 +08:00
JustSong
511cbc117e perf: use slice to improve efficiency (#57) 2023-05-14 12:53:03 +08:00
JustSong
05e460d9f8 fix: fix "[DONE is not valid JSON" (#57) 2023-05-14 12:48:42 +08:00
JustSong
1507dd0104 fix: fix Azure channel not working in stream mode (#57) 2023-05-14 09:39:42 +08:00
JustSong
d4a976d0e6 fix: fix SMTPFrom not updated in some cases (close #34) 2023-05-13 22:04:36 +08:00
JustSong
86117cd704 fix: fix garbled email subject (#34) 2023-05-13 21:41:52 +08:00
JustSong
80176fdfe8 feat: able to customize home page now (#24) 2023-05-13 21:27:49 +08:00
JustSong
5792db44c3 fix: support smtp server with port 465 2023-05-13 18:57:27 +08:00
JustSong
6cb284c8fd feat: able to configure smtp from now (close #34) 2023-05-13 18:33:41 +08:00
JustSong
bc87b023f5 feat: support batch creation of channels (close #58) 2023-05-13 17:08:13 +08:00
JustSong
bb13fe818c refactor: rename file to conform to standards 2023-05-13 15:43:55 +08:00
JustSong
badbb0962f refactor: use built in smtp library (close #34) 2023-05-13 15:30:09 +08:00
JustSong
9ed9eaa65f feat: support specific default api version now (#57) 2023-05-13 12:53:57 +08:00
JustSong
6c2e1aab65 chore: update prompt for Azure channel configuration (#57) 2023-05-13 12:29:17 +08:00
JustSong
b4bfc95297 fix: remove the dot in model name (#57) 2023-05-13 12:24:49 +08:00