Commit Graph

  • 7188dedd27 Merge branch 'songquanpeng:main' into main Calcium-Ion 2023-09-18 22:52:10 +08:00
  • 0de79e31d7 fix: add default value for base url JustSong 2023-09-18 22:49:05 +08:00
  • 3935c70cd9 fix: fix random selection is not working when directly using database JustSong 2023-09-18 22:39:10 +08:00
  • 1661d34f7b fix: fix unable to set zero value for base url & model mapping JustSong 2023-09-18 22:07:17 +08:00
  • 977015ac6c Merge branch 'main' of https://github.com/songquanpeng/one-api JustSong 2023-09-18 21:44:36 +08:00
  • ebdab831e6 fix: fix priority not updated & random choice not working JustSong 2023-09-18 21:43:45 +08:00
  • 5cf4db07a4 Merge branch 'songquanpeng:main' into main Calcium-Ion 2023-09-18 17:33:09 +08:00
  • 8a8202ae0f fix: enable cors for token routers and dashboard routers CaIon 2023-09-18 01:42:04 +08:00
  • 59caef098a docs: update readme (#502) Redreamality 2023-09-17 21:39:21 +08:00
  • 8344b66ba9 合并最新代码 CaIon 2023-09-17 21:07:00 +08:00
  • 23d9554415 Merge remote-tracking branch 'origin/main' CaIon 2023-09-17 20:59:12 +08:00
  • ead3b915ca feat: supprt channel priority now & record channel id in log (#484) Xyfacai 2023-09-17 19:18:16 +08:00
  • 6c5dea7b01 feat: support non-stream mode for xunfei (#498) igophper 2023-09-17 18:16:12 +08:00
  • 128a7d2255 fix: fix url not passing when using custom chat_link JustSong 2023-09-17 17:19:12 +08:00
  • 39328d65c2 feat: able to delete logs now (close #486) JustSong 2023-09-17 17:09:56 +08:00
  • 3f9e723ce5 feat: create new log file when too many logs recorded JustSong 2023-09-17 16:35:30 +08:00
  • 04e474f063 docs: update README JustSong 2023-09-17 15:41:01 +08:00
  • 315d7e8692 refactor: update logging related logic JustSong 2023-09-17 15:39:46 +08:00
  • 437b35e161 fix: only enable cors for relay routers to avoid csrf attack JustSong 2023-09-17 11:44:38 +08:00
  • ab4fd3b1ca chore: update channel test prompt JustSong 2023-09-17 11:34:06 +08:00
  • 0ff78b0705 chore: update error code JustSong 2023-09-17 11:30:20 +08:00
  • ac97409a3e Merge remote-tracking branch 'origin/main' CaIon 2023-09-15 18:01:06 +08:00
  • 2a961f1cbc feat: 渠道支持指定组织 CaIon 2023-09-15 17:59:01 +08:00
  • 76c0c7918e feat: 避免请求出错时暴露渠道信息 CaIon 2023-09-15 17:50:54 +08:00
  • 8c779729c7 fix: fix oauth2 state not checking JustSong 2023-09-15 00:24:20 +08:00
  • 23de4f73eb docs: update readme JustSong 2023-09-13 23:22:53 +08:00
  • e78b156665 docs: add QChatGPT (#522) Junyan Qin 2023-09-13 23:18:53 +08:00
  • 6d241249d2 perf: only return quota when it's not zero JustSong 2023-09-13 22:05:10 +08:00
  • 750bf17334 fix: fix quota not return when error occurred (close #518) JustSong 2023-09-13 21:50:45 +08:00
  • 3b780e33fd feat: 改为转发的方式获取midjourney图片 CaIon 2023-09-12 03:57:03 +08:00
  • 59b4bc37ea feat: 改为转发的方式获取midjourney图片 CaIon 2023-09-12 03:46:05 +08:00
  • d6de25f839 update: update the README.md CaIon 2023-09-12 03:17:44 +08:00
  • 06fc41d9a0 feat: add midjourney log CaIon 2023-09-12 03:17:26 +08:00
  • 57edbac346 feat: 删除无用功能 CaIon 2023-09-10 01:13:12 +08:00
  • e8895c92a8 修复充值bug CaIon 2023-09-09 05:05:46 +08:00
  • ff8df45f95 修复充值bug CaIon 2023-09-09 05:04:49 +08:00
  • 6ca32631bb fix bug CaIon 2023-09-09 04:29:00 +08:00
  • a71b737a2c 合并请求 CaIon 2023-09-09 03:19:55 +08:00
  • c0636950c0 Merge remote-tracking branch 'origin/main' CaIon 2023-09-09 03:15:55 +08:00
  • f73ecc57c2 移除不必要的功能 CaIon 2023-09-09 03:11:42 +08:00
  • e25bcce452 merge CaIon 2023-09-09 01:50:41 +08:00
  • b31a9d7576 fix: support ali's embedding model (#481, close #469) igophper 2023-09-03 22:12:35 +08:00
  • 7e6a2b67a6 feat: able to config rate limit (close #477) JustSong 2023-09-03 21:56:37 +08:00
  • 963d9a3407 docs: update README (close #482) JustSong 2023-09-03 21:50:00 +08:00
  • c504918175 docs: update README (close #482) JustSong 2023-09-03 21:49:41 +08:00
  • bbcf52be8f chore: add error prompt for Azure JustSong 2023-09-03 21:46:07 +08:00
  • 6f4b547f0e fix: press enter to submit custom model name JustSong 2023-09-03 21:40:58 +08:00
  • fa0fedff5c chore: pass through error out JustSong 2023-09-03 21:31:58 +08:00
  • e7eb4474b6 feat: add channel type FastGPT JustSong 2023-09-03 15:50:49 +08:00
  • 35092959b4 docs: update README JustSong 2023-09-03 15:12:54 +08:00
  • cf0ae05d50 feat: add batch update support (close #414) JustSong 2023-09-03 14:58:20 +08:00
  • 8e0a744da3 feat: support aiproxy's library JustSong 2023-09-03 12:51:59 +08:00
  • a4cf25f4c6 修复多路复用bug CaIon 2023-08-31 00:44:16 +08:00
  • 3cb7892864 fix: fix log table use created_at as key instead of id JustSong 2023-08-30 21:43:01 +08:00
  • f506056015 perf: preallocate array capacity JustSong 2023-08-30 21:15:56 +08:00
  • ba1adbfc05 docs: update README JustSong 2023-08-30 20:51:37 +08:00
  • 59eab66373 feat: supper OpenRouter now (close #333, close #340) JustSong 2023-08-27 16:16:45 +08:00
  • 1966eb712e feat: supper whisper now (close #197) JustSong 2023-08-27 15:28:23 +08:00
  • 373f50c8eb Merge branch 'main' of https://github.com/songquanpeng/one-api JustSong 2023-08-26 13:36:58 +08:00
  • 6c808f80ff feat: support 360's models (close #331, close #461) JustSong 2023-08-26 13:30:21 +08:00
  • 32db0934e5 fix: fix the issue of function_call not working when using model mapping (#462) shao0222 2023-08-26 13:10:18 +08:00
  • 574be5bd1d perf: initialize all token encoder when starting (close #459, close $460) JustSong 2023-08-26 13:02:02 +08:00
  • 5ac2eac15f fix: fix error response (close #468) JustSong 2023-08-26 12:37:45 +08:00
  • 2193d46b17 fix: disable channel when 401 received (close #467) JustSong 2023-08-26 12:05:18 +08:00
  • 46d817ab64 merge CaIon 2023-08-25 01:03:45 +08:00
  • e60239c93d Merge remote-tracking branch 'origin/main' CaIon 2023-08-25 00:51:02 +08:00
  • c7d1cef7b4 修改stat接口返回值 CaIon 2023-08-25 00:40:11 +08:00
  • 04bd77e5d6 fix: fix xunfei crash (#451) glzjin 2023-08-20 22:07:50 +08:00
  • 996b005173 fix: empty completion issue caused by bad status code from upstream channel (#422) Benny 2023-08-19 17:58:45 +08:00
  • ad3aef34a7 feat: support xunfei's v2 api (#442, close #440) 滔哥 2023-08-19 17:50:34 +08:00
  • 23ec88d6e9 fix: fix baidu & ali's quota calculation (#444) glzjin 2023-08-19 17:14:39 +08:00
  • 92e34fa0c5 feat: show total quota consumption only when user click (#448) Benny 2023-08-19 17:08:50 +08:00
  • 6c44925286 fix: claude model ratio (#449) Benny 2023-08-19 16:58:34 +08:00
  • 7a01376b52 docs: update README JustSong 2023-08-19 16:35:38 +08:00
  • 78caf1f0b5 docs: update README JustSong 2023-08-19 14:56:48 +08:00
  • ddd29ef885 docs: update README JustSong 2023-08-19 14:56:21 +08:00
  • 5fbb09fd30 docs: update README JustSong 2023-08-19 14:55:38 +08:00
  • fc9a67cb79 docs: update README JustSong 2023-08-19 14:55:17 +08:00
  • 984cde73ac docs: update README JustSong 2023-08-19 14:54:40 +08:00
  • 8cfc5eeb97 fix: update cache immediately after cache get JustSong 2023-08-16 23:40:24 +08:00
  • a4ddffa60e docs: add Japanese README (#425) Ikko Eltociear Ashimine 2023-08-16 20:33:31 +09:00
  • 68b24da6a6 add epay CaIon 2023-08-14 22:16:32 +08:00
  • 0b55a4aea8 ci: add stage caching to Dockerfile (#408) Jungley 2023-08-13 22:55:43 +08:00
  • 5545f0cdc1 docs: update README JustSong 2023-08-13 01:16:27 +08:00
  • 393443dd16 Revert "fix: add lock when update quota (close #399)" JustSong 2023-08-13 00:51:48 +08:00
  • 29d5fa222d chore: update variable name JustSong 2023-08-13 00:50:26 +08:00
  • 27b290c578 fix: fix baidu's embedding api (#398) igophper 2023-08-13 00:45:04 +08:00
  • 91bcc5f738 feat: able to refresh baidu access token automatically (#400, close #401) igophper 2023-08-12 23:41:44 +08:00
  • c4e10c561a refactor: add set event stream headers func (#402) igophper 2023-08-12 21:55:18 +08:00
  • 995b3147ce perf: use a goroutine to handle quota post consumption (#364) JustSong 2023-08-12 19:36:31 +08:00
  • c563e1ed91 feat: support PostgreSQL now JustSong 2023-08-12 19:20:12 +08:00
  • 7216aabedc fix: add lock when update quota (close #399) JustSong 2023-08-12 18:25:18 +08:00
  • 2586fe09eb perf: flush response after response handled (close #364) JustSong 2023-08-12 18:10:15 +08:00
  • 3eb357a180 fix: fix token name too long JustSong 2023-08-12 16:58:29 +08:00
  • 8c3eb090fa chore: use unknown as placeholder JustSong 2023-08-12 14:18:04 +08:00
  • 0fb9cb69bd docs: update README JustSong 2023-08-12 12:17:01 +08:00
  • 22e0b40d8d docs: update README JustSong 2023-08-12 11:30:13 +08:00
  • 7b14f66fd4 chore: resolve conflicts JustSong 2023-08-12 11:08:52 +08:00
  • 7cd99c186e fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) igophper 2023-08-12 11:04:53 +08:00
  • f9c3f3761e feat: improve frontend (#387) Yolo° 2023-08-12 10:49:30 +08:00