Commit Graph

  • 587112ce3b feat: add Docker Compose support (#55) chunzhi 2023-05-11 16:56:14 +08:00
  • eded22137b feat: double check before deleting a user JustSong 2023-05-10 10:13:39 +08:00
  • ac2a56f9cd feat: support API /dashboard/billing/credit_grants now (#45) JustSong 2023-05-10 09:28:41 +08:00
  • 6ff87f0796 docs: update README (#47) JustSong 2023-05-05 21:56:48 +08:00
  • 8b03ef6639 docs: add funding link JustSong 2023-05-05 15:26:54 +08:00
  • 7bd4c0e490 fix: return quota to user when delete token (close #37) JustSong 2023-05-04 10:20:39 +08:00
  • 28e05cdecd chore: update placeholder text (#36) JustSong 2023-04-29 18:42:05 +08:00
  • 563db52805 chore: update placeholder text (#36) JustSong 2023-04-29 18:41:19 +08:00
  • 36605cf095 fix: shouldn't close c.Request.Body too soon (close #35) JustSong 2023-04-29 14:49:10 +08:00
  • 033e832cae feat: able to configure ratio for different models (close #26) JustSong 2023-04-28 19:16:37 +08:00
  • 84c7ae8ad1 refactor: use tiktoken-go to calculate token number JustSong 2023-04-28 18:36:17 +08:00
  • 52877f99e8 fix: relay bug fix JustSong 2023-04-28 18:16:59 +08:00
  • 0760dcf6cc feat: support configuring ratio when estimating token number in stream mode JustSong 2023-04-28 17:25:05 +08:00
  • 52e92554ac refactor: improve relay's implementation JustSong 2023-04-28 17:11:57 +08:00
  • bcdfb7d0d9 feat: now use token as the unit of quota (close #33) JustSong 2023-04-28 16:58:55 +08:00
  • aa18ac4864 refactor: use quota instead of times JustSong 2023-04-28 14:57:20 +08:00
  • 567ff7359c fix: check user's role when manage user (#30) JustSong 2023-04-28 09:47:03 +08:00
  • 3c31997c4e style: add bottom margin for unlimited times button JustSong 2023-04-27 17:18:07 +08:00
  • 79dc851aa1 feat: able to set top up link now JustSong 2023-04-27 16:32:21 +08:00
  • f820158ee5 fix: check user status when validating token (#23) JustSong 2023-04-27 15:05:33 +08:00
  • 9667bc86bc fix: root user cannot demote itself now (close #30) JustSong 2023-04-27 14:45:12 +08:00
  • 4bcc5f54f2 fix: fix MySQL syntax error (#54) JustSong 2023-04-27 11:10:10 +08:00
  • a751f30316 fix: specify type for token (close #23) JustSong 2023-04-27 09:32:20 +08:00
  • 25ff9ebbe1 fix: remove rate limit for relay api JustSong 2023-04-26 21:50:09 +08:00
  • 9c529f9674 feat: able to set initial quota for new user (close #22) JustSong 2023-04-26 21:40:56 +08:00
  • 5a9fb6238b feat: able to manage system vai access token (close #12) JustSong 2023-04-26 20:54:39 +08:00
  • 863d8424b3 feat: download redemption codes as file (#12) JustSong 2023-04-26 17:13:08 +08:00
  • be2b3f3fc6 feat: now user can top up via redemption code (close #9) JustSong 2023-04-26 17:02:26 +08:00
  • d87bae94f5 fix: allow all origins (close #20) JustSong 2023-04-26 15:27:33 +08:00
  • 56231eea66 fix: prevent common user from specifying channel id (#12) JustSong 2023-04-26 14:49:27 +08:00
  • 3616adfc7a fix: allow all origins (close #20) JustSong 2023-04-26 14:26:19 +08:00
  • 15ac1356bc docs: update LICENSE JustSong 2023-04-26 13:04:41 +08:00
  • d82e0f85c8 chore: update gitignore JustSong 2023-04-26 13:04:11 +08:00
  • 36326c6d72 chore: update Dockerfile JustSong 2023-04-26 13:04:01 +08:00
  • da6fd62fb0 ci: remove useless action JustSong 2023-04-26 13:00:33 +08:00
  • 7b8005a565 docs: update README JustSong 2023-04-26 12:58:06 +08:00
  • f3ebe46076 feat: redirect to login page if login expired (close #18) JustSong 2023-04-26 11:42:56 +08:00
  • 512f9e3ac9 feat: limit the ability of common user to set the remaining usage times of token (#9) JustSong 2023-04-26 11:10:14 +08:00
  • f3a7f8127e docs: update Nginx configuration (#3) JustSong 2023-04-26 10:50:52 +08:00
  • b612efe349 fix: only reduce remain times when request /v1/chat/completions (close #15) JustSong 2023-04-26 10:45:34 +08:00
  • fc8641eb7d docs: update Nginx config (close #3) JustSong 2023-04-26 09:57:46 +08:00
  • e779c3a6a0 feat: able to relay dashboard api now JustSong 2023-04-25 22:18:27 +08:00
  • 858504ff29 chore: update dependency JustSong 2023-04-25 21:56:23 +08:00
  • e0e0660867 feat: enable gzip on api route & web route JustSong 2023-04-25 21:56:07 +08:00
  • 541b9f2ed6 fix: fully support stream mode now (close #3) JustSong 2023-04-25 21:50:57 +08:00
  • 2ed58bb0c0 fix: improve the implementation of sse JustSong 2023-04-25 20:45:50 +08:00
  • 796cb86b58 fix: fixing SSE support JustSong 2023-04-25 20:27:53 +08:00
  • bbaeea9340 docs: add help in command line arguments (#14) Bond 2023-04-25 16:23:17 +08:00
  • 5e20246e65 fix: update error message to make it more clear (#13) JustSong 2023-04-25 15:13:25 +08:00
  • fb608980fa docs: update deploy tutorial JustSong 2023-04-25 14:56:04 +08:00
  • fc637f20af docs: fix typo JustSong 2023-04-25 14:51:53 +08:00
  • b67ff8ee91 docs: update README JustSong 2023-04-25 14:50:35 +08:00
  • ed9d5206dc docs: update Docker start command (close #8) JustSong 2023-04-25 14:31:02 +08:00
  • a8eacd331b fix: relay more headers JustSong 2023-04-25 11:30:34 +08:00
  • e8066d9ba1 feat: relay all kinds of requests JustSong 2023-04-25 10:57:37 +08:00
  • 7c0124451d fix: only keep header Authorization & Content-Type JustSong 2023-04-25 10:47:25 +08:00
  • 9001415948 fix: fix http2: invalid Connection request header: ["upgrade"] JustSong 2023-04-25 10:19:00 +08:00
  • 67ece62ff2 fix: copy token to search input if clipboard.writeText is not available (close #6) JustSong 2023-04-25 09:46:58 +08:00
  • 7856da5d4a feat: improve the token edit page JustSong 2023-04-25 09:24:02 +08:00
  • 35f59a974b docs: add missing manual deployment documentation (#7) Shiqi Mei 2023-04-24 20:55:22 +08:00
  • db95445a86 feat: able to set the token's expiration time and number of uses JustSong 2023-04-24 20:52:40 +08:00
  • 3938214f6c Temporary set rate limit to 60k JustSong 2023-04-24 11:18:05 +08:00
  • ae4a281ca1 Add docker pull badge JustSong 2023-04-24 09:58:24 +08:00
  • 32755d875a Support custom channel now JustSong 2023-04-23 20:35:49 +08:00
  • 17deb964ab Redirect user if not logged in JustSong 2023-04-23 20:17:55 +08:00
  • 799d7ada88 Update README JustSong 2023-04-23 20:09:07 +08:00
  • 5537de3ffe Index page is done JustSong 2023-04-23 20:00:47 +08:00
  • 4cce9ab762 Update README JustSong 2023-04-23 19:52:16 +08:00
  • 75fa429b5f Fix GitHub Actions JustSong 2023-04-23 19:36:27 +08:00
  • b61bbe73c2 Update README JustSong 2023-04-23 19:32:19 +08:00
  • 15d260445f Update README JustSong 2023-04-23 19:28:43 +08:00
  • d00968d0cd Fix "HTTP decompression failed" JustSong 2023-04-23 19:19:43 +08:00
  • 039301324f Bug fix JustSong 2023-04-23 18:32:59 +08:00
  • 12aa6c352b Relay done but not working JustSong 2023-04-23 18:24:11 +08:00
  • 28e8e89e28 Able to manage channels now JustSong 2023-04-23 15:42:23 +08:00
  • 9ca6adf4a1 Able to manage token now JustSong 2023-04-23 12:43:10 +08:00
  • 466cdbf1af Token API done without verification JustSong 2023-04-23 11:31:00 +08:00
  • 2e548779b4 Update README JustSong 2023-04-22 22:46:29 +08:00
  • 0892c1aa96 Update README JustSong 2023-04-22 22:29:00 +08:00
  • fcb6204a69 Update system log JustSong 2023-04-22 22:15:48 +08:00
  • bc88176dc5 Channel API done without verification JustSong 2023-04-22 22:02:59 +08:00
  • 074df0f131 Remove useless page JustSong 2023-04-22 21:41:16 +08:00
  • 483bd64d8f Rename to One API JustSong 2023-04-22 21:14:09 +08:00
  • 4cbef0780e Initial commit JustSong 2023-04-22 20:39:27 +08:00