Commit Graph

  • b9f6461dd4 fix: convert system message to user message for claude JustSong 2023-07-27 23:26:56 +0800
  • 0a39521a3d fix: convert system message to user message (close #328) JustSong 2023-07-27 23:16:11 +0800
  • c134604cee fix: use channel type to determine api type (close #321) JustSong 2023-07-24 23:34:14 +0800
  • 929e43ef81
    fix: baseURL not working in APITypePaLM (#317) mrhaoji 2023-07-24 22:37:57 +0800
  • dce8bbe1ca
    fix: relay router typo for List models (#320) mrhaoji 2023-07-24 22:28:16 +0800
  • bc2f48b1f2 chore: send a notice to user indicating that the current channel type does not support testing JustSong 2023-07-23 23:23:56 +0800
  • 889af8b2db fix: fix redemption can be used multiple times in some cases JustSong 2023-07-23 19:34:23 +0800
  • 4eea096654 chore: do not hardcode cache time (close #302) JustSong 2023-07-23 19:26:37 +0800
  • 4ab3211c0e fix: fix blank screen after refresh JustSong 2023-07-23 17:59:30 +0800
  • 3da119efba perf: reuse http client to reduce delay JustSong 2023-07-23 15:18:58 +0800
  • dccd66b852
    feat: add access_until field for subscription api (#295) ckt 2023-07-23 13:49:09 +0800
  • 2fcd6852e0
    feat: able to delete account by self (#294) ckt 2023-07-23 13:37:32 +0800
  • 9b4d1964d4
    chore: optimize frontend (#293) Yolo° 2023-07-23 13:25:28 +0800
  • 806bf8241c chore: update prompts of channel config page JustSong 2023-07-23 12:46:41 +0800
  • ce93c9b6b2 chore: adjust channel config page JustSong 2023-07-23 12:20:42 +0800
  • 4ec4289565 docs: update README JustSong 2023-07-23 12:01:49 +0800
  • 3dc5a0f91d docs: update README JustSong 2023-07-23 11:56:51 +0800
  • 80a846673a docs: update README JustSong 2023-07-23 11:55:33 +0800
  • 26c6719ea3 feat: support zhipu's ChatGLM (close #289) JustSong 2023-07-23 11:51:44 +0800
  • c87e05bfc2 chore: add more context in error message JustSong 2023-07-23 09:49:46 +0800
  • e6938bd236 fix: fix PaLM2 not billed JustSong 2023-07-23 00:58:14 +0800
  • 8f721d67a5 feat: support Google PaLM2 (close #105) JustSong 2023-07-23 00:32:47 +0800
  • fcc1e2d568 chore: add notice for baidu JustSong 2023-07-22 23:27:04 +0800
  • 9a1db61675 feat: support baidu's models now (close #286) JustSong 2023-07-22 23:24:09 +0800
  • 3c940113ab fix: fix model editing now working properly (close #288) JustSong 2023-07-22 18:56:36 +0800
  • 0495b9a0d7 fix: using whitelist when disabling channels (close #292) JustSong 2023-07-22 18:15:30 +0800
  • 12a0e7105e refactor: refactor openai related code JustSong 2023-07-22 17:48:45 +0800
  • e628b643cd refactor: refactor claude related code JustSong 2023-07-22 17:36:40 +0800
  • 675847bf98 refactor: refactor claude related code JustSong 2023-07-22 17:12:13 +0800
  • 2ff15baf66 feat: support claude now (close #150) JustSong 2023-07-22 16:18:03 +0800
  • 4139a7036f chore: make subscription api compatible with official api JustSong 2023-07-15 23:01:54 +0800
  • 02da0b51f8 docs: update README JustSong 2023-07-15 19:07:38 +0800
  • 35cfebee12 feat: retry on failed (close #112) JustSong 2023-07-15 19:06:51 +0800
  • 0e088f7c3e feat: support ChatGLM2 (close #274) JustSong 2023-07-15 17:07:05 +0800
  • f61d326721 revert: do not enable turnstile check on login JustSong 2023-07-15 16:06:01 +0800
  • 74b06b643a Merge branch 'main' of github.com:songquanpeng/one-api JustSong 2023-07-15 13:52:26 +0800
  • ccf7709e23 feat: support custom model now (close #276) JustSong 2023-07-15 13:51:46 +0800
  • d592e2c8b8
    feat: add turnstile for login form (#263) ckt 2023-07-15 12:41:21 +0800
  • b520b54625
    feat: initial support of Dall-E (#148, #266) ckt 2023-07-15 12:30:06 +0800
  • 81c5901123
    feat: add support for /v1/engines/text-embedding-ada-002/embeddings (#224, close #222) 玩牛牛 2023-07-15 12:03:23 +0800
  • abc53cb208 feat: disable channel when account_deactivated received (close #271) JustSong 2023-07-15 11:49:58 +0800
  • 2b17bb8dd7
    chore: update i18n (#262) ckt 2023-07-12 22:50:02 +0800
  • ea73201b6f
    fix: restore display_name/username that deleted before (#268) mrhaoji 2023-07-12 22:43:54 +0800
  • 6215d2e71c docs: update README (close #257) JustSong 2023-07-08 12:03:55 +0800
  • d17bdc40a7 fix: use transaction to protect redeem process JustSong 2023-07-07 21:26:45 +0800
  • 280df27705 docs: update README JustSong 2023-07-05 18:43:11 +0800
  • 991f5bf4ee fix: fix http2: invalid Connection request header: [\"upgrade\"]" JustSong 2023-07-04 21:24:49 +0800
  • 701aaba191 feat: able to approximate token (close #207) JustSong 2023-07-04 19:54:13 +0800
  • 3bab5b48bf
    chore: remove email in UsersTable to make room for other fields (#246) mrhaoji 2023-07-04 18:57:44 +0800
  • f3bccee3b5 chore: update channel add & edit page JustSong 2023-07-04 18:40:36 +0800
  • d84b0b0f5d
    chore: add model parameter to the time_test script (#245) mrhaoji 2023-07-04 18:13:59 +0800
  • d383302e8a
    feat: support balance query for CloseAI (#240) Cross Fire 2023-07-03 20:43:42 +0800
  • 04f40def2f docs: update README JustSong 2023-07-03 19:51:12 +0800
  • c48b7bc0f5 docs: update README JustSong 2023-07-03 19:49:39 +0800
  • b09daf5ec1
    chore: update countTokenMessages (#238) quzard 2023-07-03 09:42:34 +0800
  • c90c0ecef4 chore: set the default token quota to 1$ JustSong 2023-07-02 16:45:42 +0800
  • 1ab5fb7d2d docs: update README JustSong 2023-07-02 16:35:40 +0800
  • f769711c19 docs: update README JustSong 2023-07-02 16:25:14 +0800
  • edc5156693 chore: ignore FRONTEND_BASE_URL on master node JustSong 2023-07-02 16:07:12 +0800
  • 9ec6506c32 fix: fix refresh not working properly (close #229) JustSong 2023-07-02 15:55:49 +0800
  • f387cc5ead docs: update README JustSong 2023-07-02 14:57:10 +0800
  • 569b68c43b docs: update README JustSong 2023-07-02 14:53:50 +0800
  • f0c40a6cd0 fix: fix cannot enable token if set to unlimited time (close #230) JustSong 2023-07-02 14:47:06 +0800
  • 0cea9e6a6f fix: fix channel search is not working with MySQL JustSong 2023-06-29 21:46:13 +0800
  • b1b3651e84
    feat: support channel type AIGC2D (#220) Alone88 2023-06-29 21:34:17 +0800
  • 8f6bd51f58 docs: update README JustSong 2023-06-29 21:22:23 +0800
  • bddbf57104 fix: fix AutomaticDisableChannelEnabled option not ignored (close #217) JustSong 2023-06-29 15:54:12 +0800
  • 9a16b0f9e5 docs: update README JustSong 2023-06-29 11:39:43 +0800
  • 3530309a31 docs: update issue templates JustSong 2023-06-29 11:33:51 +0800
  • 733ebc067b docs: update issue templates JustSong 2023-06-29 11:33:02 +0800
  • 6a8567ac14 docs: update issue templates JustSong 2023-06-29 11:32:36 +0800
  • aabc546691 fix: fix the wrong message when channel is deleted JustSong 2023-06-29 11:27:34 +0800
  • 1c82b06f35 docs: update README JustSong 2023-06-29 10:59:41 +0800
  • 9e4109672a docs: update README JustSong 2023-06-28 13:38:09 +0800
  • 64c35334e6 docs: update README JustSong 2023-06-28 13:19:01 +0800
  • 0ce572b405
    docs: update README (#210) Archer 2023-06-28 13:01:29 +0800
  • a326ac4b28
    chore: more hints in model mapping textarea (#205) mrhaoji 2023-06-28 12:56:01 +0800
  • 05b0e77839 docs: update README JustSong 2023-06-27 23:36:12 +0800
  • 51f19470bc fix: fix wrong env var name JustSong 2023-06-27 23:34:23 +0800
  • 737672fb0b fix: update cached user quota after post-consuming (close #204) JustSong 2023-06-27 19:22:58 +0800
  • 0941e294bf feat: support model remap now JustSong 2023-06-27 13:42:45 +0800
  • 431d505f79 refactor: do not use redis to store session JustSong 2023-06-26 16:10:59 +0800
  • f0dc7f3f06
    fix: InitChannelCache does not filter disabled channels (#201) mrhaoji 2023-06-25 23:14:15 +0800
  • 99fed1f850
    chore: show the HTTP status code in the test_time script to determine the success or failure of the request (#200) mrhaoji 2023-06-25 22:58:16 +0800
  • 4dc5388a80 chore: do not show completion ratio anymore JustSong 2023-06-25 20:29:42 +0800
  • f81f4c60b2 docs: update README JustSong 2023-06-25 15:14:52 +0800
  • c613d8b6b2 docs: update README JustSong 2023-06-25 15:14:09 +0800
  • 7adac1c09c chore: update default ratio for text-embedding-ada-002 JustSong 2023-06-25 12:07:42 +0800
  • 6f05128368
    chore: show equivalent amount next to remaining quota in the user editing page (#198) mrhaoji 2023-06-25 11:54:05 +0800
  • 9b178a28a3 feat: support /v1/edits now (close #196) JustSong 2023-06-25 11:46:23 +0800
  • 4a6a7f4635 chore: update the number that representing the unlimited quota JustSong 2023-06-25 10:52:46 +0800
  • 6b1a24d650 fix: check if token is nil before using it JustSong 2023-06-25 10:40:54 +0800
  • 94ba3dd024 chore: billing api now will return a large number if unlimited quota is set JustSong 2023-06-25 10:39:22 +0800
  • f6eb4e5628 perf: validate the request first before send to OpenAI's server JustSong 2023-06-25 10:25:33 +0800
  • 57bd907f83 fix: do not record if used quota is zero JustSong 2023-06-25 09:59:58 +0800
  • dd8e8d5ee8 fix: do not charge the user if the amount of tokens used was zero JustSong 2023-06-25 09:56:03 +0800
  • 1ca1aa0cdc fix: fix usage is not correct JustSong 2023-06-25 09:36:26 +0800
  • f2ba0c0300
    fix: fix log sorting (#195) quzard 2023-06-24 21:34:20 +0800
  • f5c1fcd3c3 fix: do not reuse state variable directly JustSong 2023-06-24 19:45:18 +0800
  • 5fdf670a19 fix: reset page number after query JustSong 2023-06-24 19:32:46 +0800