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
|
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
|
b14b400509
|
fix: fix the default ratio for text-embedding-ada-002
|
2023-05-11 22:43:39 +08:00 |
|
JustSong
|
8f64927af2
|
fix: the initial quota for new token now calculated correctly (#51)
|
2023-05-11 21:29:05 +08:00 |
|
JustSong
|
b358248529
|
feat: support /v1/embeddings now (close #50)
|
2023-05-11 21:00:09 +08:00 |
|
JustSong
|
049a6def02
|
feat: able to configure ratio for more models now (close #53)
|
2023-05-11 20:59:35 +08:00 |
|
JustSong
|
929f87d11a
|
fix: delete a token with a negative quota will now update the account's quota correctly (close #51)
|
2023-05-11 20:05:49 +08:00 |
|
JustSong
|
033e832cae
|
feat: able to configure ratio for different models (close #26)
|
2023-04-28 19:16:37 +08:00 |
|
JustSong
|
84c7ae8ad1
|
refactor: use tiktoken-go to calculate token number
|
2023-04-28 18:36:17 +08:00 |
|
JustSong
|
52877f99e8
|
fix: relay bug fix
|
2023-04-28 18:16:59 +08:00 |
|
JustSong
|
0760dcf6cc
|
feat: support configuring ratio when estimating token number in stream mode
|
2023-04-28 17:25:05 +08:00 |
|
JustSong
|
52e92554ac
|
refactor: improve relay's implementation
|
2023-04-28 17:11:57 +08:00 |
|
JustSong
|
bcdfb7d0d9
|
feat: now use token as the unit of quota (close #33)
|
2023-04-28 16:58:55 +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
|
79dc851aa1
|
feat: able to set top up link now
|
2023-04-27 16:32:21 +08:00 |
|
JustSong
|
f820158ee5
|
fix: check user status when validating token (#23)
|
2023-04-27 15:05:33 +08:00 |
|
JustSong
|
9667bc86bc
|
fix: root user cannot demote itself now (close #30)
|
2023-04-27 14:45:12 +08:00 |
|
JustSong
|
4bcc5f54f2
|
fix: fix MySQL syntax error (#54)
|
2023-04-27 11:10:10 +08:00 |
|
JustSong
|
25ff9ebbe1
|
fix: remove rate limit for relay api
|
2023-04-26 21:50:09 +08:00 |
|
JustSong
|
9c529f9674
|
feat: able to set initial quota for new user (close #22)
|
2023-04-26 21:40:56 +08:00 |
|
JustSong
|
5a9fb6238b
|
feat: able to manage system vai access token (close #12)
|
2023-04-26 20:54:39 +08:00 |
|
JustSong
|
863d8424b3
|
feat: download redemption codes as file (#12)
|
2023-04-26 17:13:08 +08:00 |
|
JustSong
|
be2b3f3fc6
|
feat: now user can top up via redemption code (close #9)
|
2023-04-26 17:02:26 +08:00 |
|
JustSong
|
d87bae94f5
|
fix: allow all origins (close #20)
|
2023-04-26 15:27:33 +08:00 |
|
JustSong
|
56231eea66
|
fix: prevent common user from specifying channel id (#12)
|
2023-04-26 14:49:27 +08:00 |
|
JustSong
|
3616adfc7a
|
fix: allow all origins (close #20)
|
2023-04-26 14:26:19 +08:00 |
|
JustSong
|
15ac1356bc
|
docs: update LICENSE
|
2023-04-26 13:04:41 +08:00 |
|
JustSong
|
d82e0f85c8
|
chore: update gitignore
|
2023-04-26 13:04:11 +08:00 |
|
JustSong
|
36326c6d72
|
chore: update Dockerfile
|
2023-04-26 13:04:01 +08:00 |
|
JustSong
|
da6fd62fb0
|
ci: remove useless action
|
2023-04-26 13:00:33 +08:00 |
|
JustSong
|
7b8005a565
|
docs: update README
|
2023-04-26 12:58:06 +08:00 |
|
JustSong
|
f3ebe46076
|
feat: redirect to login page if login expired (close #18)
|
2023-04-26 11:42:56 +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
|
f3a7f8127e
|
docs: update Nginx configuration (#3)
|
2023-04-26 10:50:52 +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
|
fc8641eb7d
|
docs: update Nginx config (close #3)
|
2023-04-26 09:57:46 +08:00 |
|
JustSong
|
e779c3a6a0
|
feat: able to relay dashboard api now
|
2023-04-25 22:18:27 +08:00 |
|
JustSong
|
858504ff29
|
chore: update dependency
|
2023-04-25 21:56:23 +08:00 |
|
JustSong
|
e0e0660867
|
feat: enable gzip on api route & web route
|
2023-04-25 21:56:07 +08:00 |
|
JustSong
|
541b9f2ed6
|
fix: fully support stream mode now (close #3)
|
2023-04-25 21:50:57 +08:00 |
|
JustSong
|
2ed58bb0c0
|
fix: improve the implementation of sse
|
2023-04-25 20:45:50 +08:00 |
|
JustSong
|
796cb86b58
|
fix: fixing SSE support
|
2023-04-25 20:27:53 +08:00 |
|
JustSong
|
5e20246e65
|
fix: update error message to make it more clear (#13)
|
2023-04-25 15:13:25 +08:00 |
|
JustSong
|
fb608980fa
|
docs: update deploy tutorial
|
2023-04-25 14:56:04 +08:00 |
|
JustSong
|
fc637f20af
|
docs: fix typo
|
2023-04-25 14:51:53 +08:00 |
|
JustSong
|
b67ff8ee91
|
docs: update README
|
2023-04-25 14:50:35 +08:00 |
|
JustSong
|
ed9d5206dc
|
docs: update Docker start command (close #8)
|
2023-04-25 14:31:02 +08:00 |
|
JustSong
|
a8eacd331b
|
fix: relay more headers
|
2023-04-25 11:30:34 +08:00 |
|
JustSong
|
e8066d9ba1
|
feat: relay all kinds of requests
|
2023-04-25 10:57:37 +08:00 |
|
JustSong
|
7c0124451d
|
fix: only keep header Authorization & Content-Type
|
2023-04-25 10:47:25 +08:00 |
|
JustSong
|
9001415948
|
fix: fix http2: invalid Connection request header: ["upgrade"]
|
2023-04-25 10:19:00 +08:00 |
|
JustSong
|
67ece62ff2
|
fix: copy token to search input if clipboard.writeText is not available (close #6)
|
2023-04-25 09:46:58 +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
|
3938214f6c
|
Temporary set rate limit to 60k
|
2023-04-24 11:18:05 +08:00 |
|
JustSong
|
ae4a281ca1
|
Add docker pull badge
|
2023-04-24 09:58:24 +08:00 |
|
JustSong
|
32755d875a
|
Support custom channel now
|
2023-04-23 20:35:49 +08:00 |
|
JustSong
|
17deb964ab
|
Redirect user if not logged in
|
2023-04-23 20:17:55 +08:00 |
|
JustSong
|
799d7ada88
|
Update README
|
2023-04-23 20:09:07 +08:00 |
|
JustSong
|
5537de3ffe
|
Index page is done
|
2023-04-23 20:00:47 +08:00 |
|
JustSong
|
4cce9ab762
|
Update README
|
2023-04-23 19:52:16 +08:00 |
|
JustSong
|
75fa429b5f
|
Fix GitHub Actions
|
2023-04-23 19:36:27 +08:00 |
|
JustSong
|
b61bbe73c2
|
Update README
|
2023-04-23 19:32:19 +08:00 |
|
JustSong
|
15d260445f
|
Update README
|
2023-04-23 19:28:43 +08:00 |
|
JustSong
|
d00968d0cd
|
Fix "HTTP decompression failed"
|
2023-04-23 19:19:43 +08:00 |
|
JustSong
|
039301324f
|
Bug fix
|
2023-04-23 18:32:59 +08:00 |
|
JustSong
|
12aa6c352b
|
Relay done but not working
|
2023-04-23 18:24:11 +08:00 |
|
JustSong
|
28e8e89e28
|
Able to manage channels now
|
2023-04-23 15:42:23 +08:00 |
|
JustSong
|
2e548779b4
|
Update README
|
2023-04-22 22:46:29 +08:00 |
|
JustSong
|
0892c1aa96
|
Update README
|
2023-04-22 22:29:00 +08:00 |
|
JustSong
|
fcb6204a69
|
Update system log
|
2023-04-22 22:15:48 +08:00 |
|