Commit Graph

  • 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
  • f970a03986 fix: xAI usage CaIon 2025-04-11 23:31:32 +08:00
  • 74d9bb1a12 feat: enhance Claude to OpenAI request conversion with additional relay info support CaIon 2025-04-11 19:13:38 +08:00
  • 9e4506ebaf feat: 完善openai转claude支持 CaIon 2025-04-11 18:28:50 +08:00
  • c94f662829 chore: update .gitignore and docker-compose.yml to include tiktoken_cache directory CaIon 2025-04-11 16:24:27 +08:00
  • 577b18a1a1 feat: enhance file handling and logging in the application CaIon 2025-04-11 16:23:54 +08:00
  • 7e0d4cd055 refactor: move maxFileSize variable inside GetFileBase64FromUrl function CaIon 2025-04-11 15:53:23 +08:00
  • 95f0ed1821 feat: implement parameter cleaning for Gemini functions CaIon 2025-04-10 22:35:03 +08:00
  • 984f91d111 feat: support zhipu_4v embeddings path CaIon 2025-04-10 20:53:51 +08:00
  • cc219801f8 Merge pull request #959 from Praying/main Calcium-Ion 2025-04-10 17:21:55 +08:00
  • 60a9bd45c6 feat: add xAI handling and response processing CaIon 2025-04-10 17:20:59 +08:00
  • 5bcfb8507d fix(relay): 优化数据流处理 quran 2025-04-10 16:56:16 +08:00
  • b40bf7c812 Merge pull request #953 from wkxu/main Calcium-Ion 2025-04-10 16:14:11 +08:00
  • 55ec0e5424 Merge pull request #956 from HynoR/feat/xai Calcium-Ion 2025-04-10 16:13:48 +08:00
  • cdd58282c2 feat: update adaptor methods and add new image model HynoR 2025-04-10 15:08:12 +08:00
  • 5c1386af2c feat: add xai grok-3-mini reasoning effort HynoR 2025-04-10 13:31:43 +08:00
  • 4622c17c83 feat: add xai channel HynoR 2025-04-10 12:26:48 +08:00
  • 54c5c3118b refactor: 把common/instants.go里的从Getenv获取的参数,放到init.go的LoadEnv函数里获取 把constant/env.go里的从Getenv获取的参数,放到env.go的InitEnv函数里获取。以避免.env文件配置参数不起作用的情况 wkxu 2025-04-10 09:02:19 +08:00
  • 3f58fcb4f3 Merge pull request #944 from lamcodes/main Calcium-Ion 2025-04-10 00:09:54 +08:00
  • 32db85607e fix: Update model ratios for gemini-2.5-pro CaIon 2025-04-10 00:09:11 +08:00
  • ed855e78f7 refactor: Remove duplicate model settings initialization in main function CaIon 2025-04-10 00:07:34 +08:00
  • b4889878d0 refactor: Update localization keys for API address in English translations and adjust related UI labels CaIon 2025-04-09 22:22:19 +08:00
  • 7566ae9b3e Add support for grok-2-image. Currently, grok-2-image doesn't support the size, quality, or style parameters. Set 'size'='empty' to use grok-2-image datehoer 2025-04-09 15:05:00 +08:00
  • 20c47c12b4 Update: Gemini channel fetch_models zkp 2025-04-08 22:43:13 +08:00
  • ac06e9a46f feat: Add CheckSetup function call in main to ensure proper initialization #942 CaIon 2025-04-08 18:14:36 +08:00
  • 97be874cf5 Merge pull request #930 from Yiffyi/main Calcium-Ion 2025-04-08 17:39:42 +08:00
  • c40404a8c1 Update MaxTokens for gemini model to 300 in test request CaIon 2025-04-08 17:37:25 +08:00
  • ba9cd9314b Merge pull request #936 from lamcodes/main Calcium-Ion 2025-04-08 17:33:31 +08:00
  • 950572b02e Set MaxTokens to 50 for gemini Calcium-Ion 2025-04-08 17:33:10 +08:00
  • d85e25fc46 feat: Integrate SetupCheck component for improved setup validation in routing CaIon 2025-04-08 17:31:46 +08:00
  • 9dc851d6ef feat: Initialize model settings and improve concurrency control in operation settings CaIon 2025-04-07 22:20:47 +08:00
  • 9be721ee29 feat: Add concurrency control to group ratio management with mutexes CaIon 2025-04-07 21:55:54 +08:00
  • 93d9f141fe fix: gemini test MaxTokens zkp 2025-04-06 23:23:53 +08:00
  • 3d5e93d6a2 fix: cannot save OIDC settings Yiffyi Jia 2025-04-05 04:24:38 +00:00
  • 69d790b47a Update model-ratio.go CaIon 2025-04-04 23:43:14 +08:00
  • 1e95160293 Update model-ratio.go CaIon 2025-04-04 23:41:41 +08:00
  • eca18ce25c fix: Improve setup check logic and logging for system initialization CaIon 2025-04-04 21:27:24 +08:00
  • 48fe64ebff refactor(web): systemSetting component to enhance UI structure and add new configuration options QuentinHsu 2025-04-04 17:37:52 +08:00
  • 775b1c458b style(web): format code QuentinHsu 2025-04-04 12:00:38 +08:00
  • ad7a64e585 Update model-ratio.go CaIon 2025-04-04 00:31:24 +08:00
  • d8b8a44c9c feat: Enhance ModelSettingsVisualEditor with pricing modes and improved model management features CaIon 2025-04-03 20:42:08 +08:00
  • c2a37d83a7 feat: Add new localization strings for system initialization CaIon 2025-04-03 19:27:25 +08:00
  • a1f6781c0e fix: Update option key from SelfUseModeEnabled to DemoSiteEnabled in PostSetup function CaIon 2025-04-03 19:21:53 +08:00
  • 88f7c0670f feat: Add timestamp and version to setup initialization in PostSetup function CaIon 2025-04-03 19:16:17 +08:00
  • c08edc315d fix: Correct option key for SelfUseModeEnabled in setup controller CaIon 2025-04-03 19:15:04 +08:00
  • 683accf05b Merge remote-tracking branch 'origin/main' CaIon 2025-04-03 19:09:26 +08:00
  • d8c10dcb51 Update README.md CaIon 2025-04-03 19:09:13 +08:00
  • 3e55cbcda2 Merge pull request #925 from Calcium-Ion/setup Calcium-Ion 2025-04-03 19:01:45 +08:00
  • 07d31760da feat: Refine personal mode description in setup page for clarity CaIon 2025-04-03 19:01:16 +08:00
  • f33ebc8e2c feat: Implement system setup functionality CaIon 2025-04-03 18:57:15 +08:00
  • 1de0d9123b Merge remote-tracking branch 'origin/main' CaIon 2025-04-03 17:33:03 +08:00
  • f0925dc105 feat: Enhance user settings and notification options CaIon 2025-04-03 17:32:48 +08:00
  • d9223147f2 Merge pull request #909 from jasinliu/feature/fix-dify-thinking Calcium-Ion 2025-04-03 16:23:12 +08:00
  • f502e49c96 Merge pull request #893 from wizcas/replace-linux-do-icon Calcium-Ion 2025-03-31 22:38:41 +08:00
  • 28fffb30a4 Merge pull request #895 from Feiyuyu0503/main Calcium-Ion 2025-03-31 22:38:25 +08:00
  • fbc33e9a18 Merge pull request #912 from OrdinarySF/main Calcium-Ion 2025-03-31 22:38:08 +08:00
  • fd31803f9b Merge pull request #914 from JoeyLearnsToCode/main Calcium-Ion 2025-03-31 22:37:26 +08:00
  • 9f34ea059c Merge pull request #916 from xifan2333/fix/systemSettingsUI Calcium-Ion 2025-03-31 22:36:14 +08:00
  • f5b4316213 feat: Update option handling in SystemSetting xifan 2025-03-31 00:46:13 +08:00
  • f00ac5f27b feat: Add Parameters Override JoeyLearnsToCode 2025-03-29 14:39:39 +08:00
  • 9c68911a68 refactor: use handleFieldChange function on change event Ordinary 2025-03-28 12:44:40 +00:00
  • f8efe264f7 fix: fixed bug where target.id was null when clicking 'x' icon Ordinary 2025-03-28 12:43:26 +00:00