Commit Graph

  • 1989ae95c1 refactor: streamline value assignment in SettingGeminiModel v0.6.6.1 CaIon 2025-04-18 20:08:26 +08:00
  • d378543819 feat: add gemini thinking suffix support #981 v0.6.6.0 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 v0.6.5.1 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) v0.6.5.0 CaIon 2025-04-15 02:32:51 +08:00
  • 44a14ced01 fix: try to fix claude to openai format mcp #966 v0.6.4.1 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 v0.6.4.0 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 v0.6.3.1.1 CaIon 2025-04-11 23:31:32 +08:00
  • 74d9bb1a12 feat: enhance Claude to OpenAI request conversion with additional relay info support v0.6.3.1 CaIon 2025-04-11 19:13:38 +08:00
  • 9e4506ebaf feat: 完善openai转claude支持 v0.6.3.0 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 v0.6.2.0 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 v0.6.1.1 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 v0.6.1.0 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 v0.6.0.14 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 v0.6.0.13 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 v0.6.0.12 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 v0.6.0.11 CaIon 2025-04-04 23:43:14 +08:00
  • 1e95160293 Update model-ratio.go v0.6.0.10 CaIon 2025-04-04 23:41:41 +08:00
  • eca18ce25c fix: Improve setup check logic and logging for system initialization v0.6.0.9 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 v0.6.0.8 CaIon 2025-04-03 20:42:08 +08:00
  • c2a37d83a7 ✨ feat: Add new localization strings for system initialization v0.6.0.7 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 v0.6.0.5 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 v0.6.0.4 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
  • 111cedf795 fix dify thinking jasinliu 2025-03-28 00:21:27 +08:00
  • 638950c230 feat: Add new cache ratios for o3-mini and gpt-4.5-preview models 1808837298@qq.com 2025-03-27 18:47:50 +08:00
  • 3b047b18fd update model ratio 1808837298@qq.com 2025-03-27 17:02:09 +08:00
  • a696cf5832 feat: Enhance GetCompletionRatio function 1808837298@qq.com 2025-03-27 16:38:29 +08:00
  • 29ef130794 update model ratio 1808837298@qq.com 2025-03-27 16:24:30 +08:00
  • 93087f3e9e docs: fix a typo feiyuyu 2025-03-22 21:28:25 +08:00
  • 5809b174bd replace the linuxdo icon in the login form Wizcas Chen 2025-03-22 17:16:07 +08:00
  • cd2c8fd5ab Merge pull request #886 from seefs001/main Calcium-Ion 2025-03-20 23:22:20 +08:00
  • f501a3e92e fix: claude function calling type Seefs 2025-03-19 22:48:49 +08:00
  • 18b5122a9b fix: Adjust MaxTokens logic for non-Claude models in test request 1808837298@qq.com 2025-03-17 23:44:32 +08:00
  • 6e17d31e92 feat: Add support for cross-region AWS model handling in awsStreamHandler 1808837298@qq.com 2025-03-17 23:41:00 +08:00
  • 5e06085744 refactor: Improve token quota consumption logic v0.6.0.3 1808837298@qq.com 2025-03-17 17:52:54 +08:00
  • 9b2cc6add7 feat: Enhance ConvertClaudeRequest method to set request model and handle vertex-specific request conversion v0.6.0.2 1808837298@qq.com 2025-03-17 17:13:33 +08:00
  • 4f6167243f feat: Update RerankerInfo structure and modify GenRelayInfoRerank function to accept RerankRequest 1808837298@qq.com 2025-03-17 16:44:53 +08:00
  • eafbfac6a0 Merge pull request #872 from neotf/main Calcium-Ion 2025-03-17 16:18:11 +08:00
  • 9b85cb2371 refactor: Update ClaudeResponse error handling to use pointer for ClaudeError and improve nil checks in response processing v0.6.0.1 1808837298@qq.com 2025-03-16 23:14:45 +08:00
  • 08db1449d6 Update README 1808837298@qq.com 2025-03-16 21:53:00 +08:00
  • 2db59995ad Update README 1808837298@qq.com 2025-03-16 21:47:32 +08:00
  • aa04c573dc Update README 1808837298@qq.com 2025-03-16 21:17:08 +08:00
  • 8918381c96 feat: support xinference rerank to jina format 1808837298@qq.com 2025-03-16 21:06:29 +08:00
  • 6e8916207e refactor: Enhance Claude response handling v0.6.0 1808837298@qq.com 2025-03-16 19:11:58 +08:00