analogpvt
938981fb42
Update redemption.go
2023-05-19 23:20:57 +05:30
analogpvt
c19ac576d9
Update turnstile-check.go
2023-05-19 23:18:18 +05:30
analogpvt
f86b9139f3
Update distributor.go
2023-05-19 23:17:05 +05:30
analogpvt
1acfa233b6
Update auth.go
2023-05-19 23:15:40 +05:30
analogpvt
3c22280bc8
Update wechat.go
2023-05-19 23:13:11 +05:30
analogpvt
87a54f52c9
Update user.go
2023-05-19 23:10:10 +05:30
analogpvt
2ad75c1186
Update token.go
2023-05-19 23:01:19 +05:30
analogpvt
526bb54b99
Update relay.go
2023-05-19 22:58:16 +05:30
analogpvt
ab94a57fa1
Update redemption.go
2023-05-19 22:56:33 +05:30
analogpvt
569f9721f5
Update option.go
2023-05-19 22:54:48 +05:30
analogpvt
ba195f5a8b
Update misc.go
2023-05-19 22:52:46 +05:30
analogpvt
80546d5e3c
Update github.go
2023-05-19 22:48:09 +05:30
analogpvt
d0e4687607
Update channel.go
2023-05-19 22:44:06 +05:30
analogpvt
9b033b7ebe
Update init.go
2023-05-19 22:36:01 +05:30
analogpvt
e75392aaf8
Update constants.go
2023-05-19 22:34:09 +05:30
analogpvt
8c01296a34
Update README.md
2023-05-19 22:29:14 +05:30
JustSong
ef9dca28f5
chore: set default value for Azure's api version if not set
2023-05-19 22:13:29 +08:00
JustSong
741c0b9c18
docs: update README ( #103 )
2023-05-19 15:58:01 +08:00
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