JustSong
3711f4a741
feat: support channel ai.ls now ( close #99 )
2023-05-19 11:07:17 +08:00
quzard
7c6bf3e97b
fix: make the token number calculation more accurate ( #101 )
...
* Make token calculation more accurate.
* fix: make the token number calculation more accurate
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-05-19 09:41:26 +08:00
JustSong
481ba41fbd
docs: update README
2023-05-18 18:13:57 +08:00
JustSong
2779d6629c
fix: add X-Accel-Buffering header on SSE response
2023-05-18 17:16:34 +08:00
JustSong
e509899daf
docs: update README ( close #97 )
2023-05-18 16:18:45 +08:00
JustSong
b53cdbaf05
docs: update README
2023-05-18 15:57:40 +08:00
JustSong
ced89398a5
chore: rewrite 429 prompt text ( close #96 )
2023-05-18 15:27:15 +08:00
JustSong
09c2e3bcec
docs: fix typo
2023-05-18 12:50:47 +08:00
JustSong
5cba800fa6
docs: fix typo
2023-05-18 12:50:19 +08:00
JustSong
2d39a135f2
feat: now slave server can sync options with master server ( close #88 )
2023-05-18 12:48:20 +08:00
JustSong
3c6834a79c
feat: support redirecting frontend url now ( close #89 )
2023-05-18 12:26:18 +08:00
JustSong
6da3410823
fix: fix channel test error checking
2023-05-18 11:41:03 +08:00
JustSong
ceb289cb4d
fix: handel error response from server correctly ( close #90 )
2023-05-18 11:11:15 +08:00
JustSong
6f8cc712b0
docs: update README
2023-05-17 23:26:30 +08:00
JustSong
ad01e1f3b3
fix: fix error log not recorded ( close #83 )
2023-05-17 20:20:48 +08:00
JustSong
cc1ef2ffd5
fix: fix stream mode checking ( #83 )
2023-05-17 20:10:09 +08:00
JustSong
7201bd1c97
fix: update api2d's base url ( #83 )
2023-05-17 18:47:25 +08:00
JustSong
73d5e0f283
feat: support dummy sk- prefix for token ( #82 )
2023-05-17 17:04:06 +08:00
JustSong
efc744ca35
feat: API /models
& /models/:model
implemented ( close #68 )
2023-05-17 10:42:52 +08:00
JustSong
e8da98139f
fix: limit the shown text's length ( close #80 )
2023-05-16 21:33:59 +08:00
JustSong
519cb030f7
chore: update input label
2023-05-16 16:23:07 +08:00
JustSong
58fe923c85
perf: use max_tokens to reduce token consuming
2023-05-16 16:22:25 +08:00
JustSong
c9ac5e391f
feat: support max_tokens now ( #52 )
2023-05-16 16:18:35 +08:00
JustSong
69cf1de7bd
feat: disable operations for root user ( close #76 )
2023-05-16 15:38:03 +08:00
JustSong
4d6172a242
feat: able to set pre consumed quota now
2023-05-16 13:57:01 +08:00
JustSong
8afdc56b11
fix: fix quota not consuming
2023-05-16 13:29:22 +08:00
JustSong
a9ea1d9d10
fix: fix topup page now showing
2023-05-16 12:09:33 +08:00
JustSong
ea8e7c517b
fix: fix token quota not updated
2023-05-16 12:09:17 +08:00
JustSong
d1e9b86f05
chore: update prompt
2023-05-16 11:58:26 +08:00
JustSong
6d1e5cb5dc
feat: add database migration script
2023-05-16 11:36:00 +08:00
JustSong
01abed0a30
refactor: bind quota to account instead of token ( close #64 , #31 )
2023-05-16 11:26:09 +08:00
JustSong
7c56a36a1c
feat: show users' remaining quota in user management page ( close #46 )
2023-05-16 11:08:41 +08:00
JustSong
c48327ff91
fix: fix option update logic not working properly
2023-05-16 10:04:39 +08:00
JustSong
a5406c6963
fix: fix tab icon & title not changed ( close #69 )
2023-05-15 21:15:21 +08:00
JustSong
a1f61384c5
feat: automatically disable channel when error occurred ( #59 )
2023-05-15 17:34:09 +08:00
JustSong
44ebae1559
feat: add refresh button
2023-05-15 16:20:01 +08:00
JustSong
aae92683d7
fix: fix lock is not working
2023-05-15 16:19:39 +08:00
JustSong
cc3072c4df
fix: remove version suffix for Azure ( close #67 )
2023-05-15 15:48:18 +08:00
JustSong
bffee4e91d
fix: fix /v1/models not working ( close #66 )
2023-05-15 15:33:34 +08:00
JustSong
79dc53ff0d
ci: build arm version
2023-05-15 15:14:33 +08:00
JustSong
68e53d3e10
chore: only show two digits
2023-05-15 12:56:28 +08:00
JustSong
d267211ee7
feat: able to test all enabled channels ( #59 )
2023-05-15 12:36:55 +08:00
JustSong
570b3bc71c
ci: remove arm64 image builder
2023-05-15 11:36:50 +08:00
JustSong
225176aae9
feat: save response time & test time ( #59 )
2023-05-15 11:35:38 +08:00
JustSong
443a22b75d
feat: able to test channels now ( #59 )
2023-05-15 10:48:52 +08:00
JustSong
b44f0519a0
feat: double check before deletion
2023-05-15 10:41:48 +08:00
JustSong
4a0e81fe83
fix: fix quota not consumed
2023-05-14 20:36:28 +08:00
JustSong
976c29ea9f
docs: update README
2023-05-14 19:37:15 +08:00
JustSong
926951ee03
feat: able to customize system name & logo now
2023-05-14 19:29:02 +08:00
JustSong
2cdc718fde
feat: able to use any link as about page ( #60 )
2023-05-14 18:58:54 +08:00