Commit Graph

  • e514d1f6fa fix: xAi response liusanp 2025-05-07 18:59:27 +08:00
  • 678c61d208 fix: xAi requestUrl liusanp 2025-05-07 18:32:59 +08:00
  • 7ecd9d053e fix: gemini response json schema Alex Liu 2025-05-07 18:08:56 +08:00
  • 465504033f fix: update ResponseChunkData to format data correctly without newline CaIon 2025-05-07 17:02:47 +08:00
  • 4ad7c26345 feat: add support for BaiduV2 channel in relay info CaIon 2025-05-07 16:30:32 +08:00
  • ef5480bd31 fix: quality, size or style are not supported by xAI API liusanp 2025-05-07 16:17:22 +08:00
  • 645b19b937 Merge remote-tracking branch 'origin/main' CaIon 2025-05-07 16:16:19 +08:00
  • 2cbedaf6d7 feat: support model mapping chain joey 2025-05-07 16:00:35 +08:00
  • 451133d92d fix: correct error messages for dall-e models size parameters skynono 2025-05-06 16:06:45 +08:00
  • 910e058c8e Merge pull request #1025 from QuantumNous/responses_buildin_tools Calcium-Ion 2025-05-07 02:25:47 +08:00
  • 6eda56bd45 feat: 添加 built in tools 计费前端显示 creamlike1024 2025-05-07 01:08:20 +08:00
  • 8cebbde4a0 chore: move file search tool price to operation_setting creamlike1024 2025-05-06 23:57:22 +08:00
  • 1db30c55af chore: move web search tool price to operation_setting creamlike1024 2025-05-06 23:25:16 +08:00
  • ccadf0eec2 Merge pull request #1026 from tbphp/tbphp_fix_redis_limit IcedTangerine 2025-05-06 22:36:13 +08:00
  • b4847f119f Merge branch 'feitianbubu-upstream' creamlike1024 2025-05-06 22:31:39 +08:00
  • 13afcd4266 fix: 修复未输入新密码时提示修改成功 creamlike1024 2025-05-06 22:28:32 +08:00
  • a3fe88772f feat: 添加 built in tools 计费 creamlike1024 2025-05-06 21:58:01 +08:00
  • 062dbb109e feat: add support for DeepSeek channel in streamSupportedChannels CaIon 2025-05-06 18:41:01 +08:00
  • bb596ae8e6 feat: add original password verification when changing password skynono 2025-05-06 14:18:15 +08:00
  • b2198c6cff 🔖chore: Remove semantic-ui styles Apple\Apple 2025-05-06 01:38:44 +08:00
  • 2491b154b9 ✨feat: Support TailwindCSS V3 Apple\Apple 2025-05-06 01:36:23 +08:00
  • b432ffd441 Revert "✨feat: Support TailwindCSS V3" Apple\Apple 2025-05-06 01:24:36 +08:00
  • 77382f828b ✨feat: Support TailwindCSS V3 Apple\Apple 2025-05-06 00:14:18 +08:00
  • 21b0d13bab fix: 样式修复 tbphp 2025-05-05 23:56:15 +08:00
  • b648b3cf98 fix: 缩进修复还原 tbphp 2025-05-05 23:53:05 +08:00
  • 9e2af59840 fix: text tbphp 2025-05-05 23:48:15 +08:00
  • e8111e2bdb 📕docs: Update the content in README.en.md and the structure of the docs directory Apple\Apple 2025-05-05 23:44:30 +08:00
  • 914b3d1cfe fix: 请求完成数必须大于等于1 tbphp 2025-05-05 23:41:43 +08:00
  • fbbbe77657 feat: 分组速率前端优化 tbphp 2025-05-05 22:06:16 +08:00
  • 103cca019d feat: Modellimitgroup check tbphp 2025-05-05 20:00:06 +08:00
  • cd40bdbdc6 refactor: 调整代码,符合项目现有规范 tbphp 2025-05-05 19:32:22 +08:00
  • e24a3f7587 fix: rm debug file tbphp 2025-05-05 17:57:02 +08:00
  • 2a0e1ab914 fix: Redis limit ignoring max eq 0 tbphp 2025-05-05 12:55:48 +08:00
  • c9ce1210be feat: 优化代码,去除多余注释和修改 tbphp 2025-05-05 11:34:57 +08:00
  • b32ed55624 feat: 增加分组速率功能 tbphp 2025-05-05 07:31:54 +08:00
  • e9812b0fd5 feat: implement OpenAI responses handling and streaming support with built-in tool tracking CaIon 2025-05-05 00:40:16 +08:00
  • 52d5d495c0 Merge pull request #1024 from tbphp/fix-edituser-text Calcium-Ion 2025-05-04 18:30:32 +08:00
  • fb81fe05dd fix: EditUser text error tbphp 2025-05-04 18:26:18 +08:00
  • 24200df47e refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData CaIon 2025-05-04 17:35:45 +08:00
  • 4cc1f2b4e3 Merge pull request #1020 from QuantumNous/v1responses Calcium-Ion 2025-05-04 17:13:39 +08:00
  • fa89410e41 Merge pull request #1012 from tbphp/vertex_thinking_support Calcium-Ion 2025-05-04 17:11:27 +08:00
  • 209265e68c feat: enhance OaiResponsesStreamHandler to handle output text and improve response streaming CaIon 2025-05-04 17:09:37 +08:00
  • 3753e5720a add OaiResponsesStreamHandler creamlike1024 2025-05-03 19:19:19 +08:00
  • 4bf0d094c4 feat: add video URL support in MediaContent and update token counting logic CaIon 2025-05-03 21:12:07 +08:00
  • 8ea4c76f2b feat: support /v1/responses API creamlike1024 2025-05-02 13:59:46 +08:00
  • 3654169939 refactor: optimize Dockerfile apk usage Peter Dave Hello 2025-04-29 22:54:43 +08:00
  • 9dc153eda1 feat: /api/token/usage lollipopkit🏳️‍⚧️ 2025-04-29 17:13:28 +08:00
  • f5c2fda22a feat: enable error logging configuration in docker-compose and application CaIon 2025-04-29 16:26:55 +08:00
  • d309727e99 fix: gemini thinking tokens count #1014 CaIon 2025-04-29 16:21:20 +08:00
  • 7e3e9b1a96 refactor: Reducing the lock duration to the minimum necessary time in CacheGetRandomSatisfiedChannel function CaIon 2025-04-29 15:57:21 +08:00
  • 5b81e88e41 feat: support thinking suffix for vertex gemini channel tbphp 2025-04-29 13:30:03 +08:00
  • 8b9ba91184 fix: update audio ratio logic for model names in GetAudioRatio function CaIon 2025-04-28 20:55:40 +08:00
  • d402f5a5d9 Merge pull request #1008 from JoeyLearnsToCode/feat-search-channel-by-url IcedTangerine 2025-04-28 13:15:49 +08:00
  • 8bea13976f Merge branch 'wzxjohn-feature/wellknown' creamlike1024 2025-04-28 12:55:06 +08:00
  • c56ec3b3ea feat: support searching channels by base url JoeyLearnsToCode 2025-04-28 11:38:53 +08:00
  • 9f165b8924 fix: remove custom header in oidc well known request wzxjohn 2025-04-25 09:51:01 +08:00
  • 93f634d228 feat: support empty well known url wzxjohn 2025-04-24 21:03:55 +08:00
  • 45073b3b2b feat: improve log delete api wzxjohn 2025-04-10 22:52:17 +08:00
  • 4f123cf9f4 Merge branch 'error-logs' of github.com:zenghongtu/new-api into zenghongtu-error-logs creamlike1024 2025-04-28 11:06:32 +08:00
  • 4759bbdb95 feat: add image preview functionality and update model name instructions in EditChannel CaIon 2025-04-27 17:20:49 +08:00
  • 5bf1f2f275 refactor: rename InitModelSettings to InitRatioSettings CaIon 2025-04-26 17:15:34 +08:00
  • e24d9bd8db fix: update cacheRatioMap initialization in InitModelSettings function CaIon 2025-04-26 17:09:23 +08:00
  • f4dcf8d6b6 feat: initialize cacheRatioMap in InitModelSettings function CaIon 2025-04-26 17:06:03 +08:00
  • 9246dd2070 fix: handle optional user_group_ratio in LogsTable and render helper CaIon 2025-04-26 15:59:49 +08:00
  • 1ab9892090 Merge remote-tracking branch 'new-api/main' into gpt-image CaIon 2025-04-26 15:54:08 +08:00
  • 0647872c15 feat: support image edit model mapping CaIon 2025-04-24 21:41:38 +08:00
  • 873ebcf0c7 feat: support /images/edit xyfacai 2025-04-24 19:25:08 +08:00
  • 1727d5664a Merge pull request #950 from datehoer/main IcedTangerine 2025-04-26 15:34:15 +08:00
  • 8160fb642c Merge pull request #843 from IllTamer/pr IcedTangerine 2025-04-25 18:27:45 +08:00
  • b26b34ec2f Merge branch 'main' into pr IcedTangerine 2025-04-25 18:27:11 +08:00
  • a0017f2235 feat: 增加sendcloud邮件服务器的支持 (#947) han shiandshih 2025-04-25 18:17:46 +08:00
  • b16c05ead4 fix: remove apikey from test channel log, close #1000 creamlike1024 2025-04-25 17:08:26 +08:00
  • 283d021fa2 refactor: update deepseek beta api CaIon 2025-04-25 16:26:16 +08:00
  • fea6f17e80 fix: GetMaxUserId use Unscope, close #987 creamlike1024 2025-04-25 16:13:11 +08:00
  • f77a153e6c Merge pull request #975 from asjfoajs/qn-main IcedTangerine 2025-04-25 11:59:05 +08:00
  • c1a0ca0bc7 refactor: update claude media source handling CaIon 2025-04-24 15:59:43 +08:00
  • 3169bfe362 refactor: update ClaudeMessageSource struct to include optional Url field and adjust media source handling in relay-claude #993 CaIon 2025-04-24 00:39:09 +08:00
  • 2b1470d5f7 f*** gemini CaIon 2025-04-19 18:07:51 +08:00
  • 91902ce1f4 refactor: enhance SystemSetting submission logic and handle empty WorkerUrl CaIon 2025-04-19 00:20:25 +08:00
  • fdd349c909 refactor: update GeminiThinkingConfig initialization CaIon 2025-04-18 23:13:28 +08:00
  • ace677b3e7 refactor: remove unsupported 'exclusiveMinimum' field from cleanFunctionParameters CaIon 2025-04-18 22:40:05 +08:00
  • 6e2e10adf1 refactor: remove unsupported root-level fields from cleanFunctionParameters CaIon 2025-04-18 21:38:12 +08:00
  • 1989ae95c1 refactor: streamline value assignment in SettingGeminiModel CaIon 2025-04-18 20:08:26 +08:00
  • d378543819 feat: add gemini thinking suffix support #981 CaIon 2025-04-18 19:36:18 +08:00
  • 8ead0864b5 refactor: remove reasoning field from GeneralOpenAIRequest struct CaIon 2025-04-17 17:11:42 +08:00
  • 80e6b9e04e feat: add reasoning field to GeneralOpenAIReques CaIon 2025-04-17 17:09:46 +08:00
  • b364e9e3b1 refactor: simplify model prefix checks and update message role for o-series models CaIon 2025-04-17 16:50:52 +08:00
  • 45e8e04d56 🐛fix: Fix the issue where new whitelist email domain names cannot be added in the system settings Apple\Apple 2025-04-16 17:11:59 +08:00
  • e121e77265 Refactor: Optimize the token bucket algorithm, specifically the New method in common/imiterlimiter.go. Solution: Remove Redis ping. When printing exceptions, use SysLog to print and add additional logging information. 霍雨佳 2025-04-16 16:36:07 +08:00
  • c20fbec17b Merge pull request #927 from QuentinHsu/refactor-system-setting Apple\Apple 2025-04-16 16:27:11 +08:00
  • 5aa2076e18 Refactor: Optimize the request rate limiting for ModelRequestRateLimitCount. Reason: The original steps 1 and 3 in the redisRateLimitHandler method were not atomic, leading to poor precision under high concurrent requests. For example, with a rate limit set to 60, sending 200 concurrent requests would result in none being blocked, whereas theoretically around 140 should be intercepted. Solution: I chose not to merge steps 1 and 3 into a single Lua script because a single atomic operation involving read, write, and delete operations could suffer from performance issues under high concurrency. Instead, I implemented a token bucket algorithm to optimize this, reducing the atomic operation to just read and write steps while significantly decreasing the memory footprint. 霍雨佳 2025-04-16 10:33:43 +08:00
  • 50bf4a6615 refactor: remove unused mutex from RelayInfo struct CaIon 2025-04-15 23:06:32 +08:00
  • 115c85390f fix: claude parallel function calling CaIon 2025-04-15 04:52:33 +08:00
  • effa523a54 feat: support gemini output text and inline images. (close #866) CaIon 2025-04-15 02:32:51 +08:00
  • 44a14ced01 fix: try to fix claude to openai format mcp #966 CaIon 2025-04-15 01:16:06 +08:00
  • 12ca7c4789 Merge pull request #967 from neotf/fix-01 Calcium-Ion 2025-04-15 00:05:41 +08:00
  • e3b262da1d feat: 添加流模式下的SSE保活机制 #945 CaIon 2025-04-14 19:40:23 +08:00
  • 935cc1c605 fix: wrong systemStr for Claude (OpenAI Upstream) neotf 2025-04-14 01:09:02 +08:00
  • da86db0d46 fix: update model name handling in UI and localization CaIon 2025-04-12 17:44:29 +08:00
  • 75f0cb8eb0 feat: add error logging functionality to relay and update logs table for error type display jasonzeng 2025-04-12 00:43:34 +08:00