- 25 Apr, 2025 2 commits
-
-
creamlike1024 committed
-
[#969] Refactor: Optimize the request rate limiting for ModelRequestRateLimi…
IcedTangerine committed
-
- 24 Apr, 2025 1 commit
-
-
CaIon committed
-
- 23 Apr, 2025 1 commit
-
-
refactor: update ClaudeMessageSource struct to include optional Url field and adjust media source handling in relay-claude #993
CaIon committed
-
- 19 Apr, 2025 1 commit
-
-
CaIon committed
-
- 18 Apr, 2025 6 commits
- 17 Apr, 2025 3 commits
- 16 Apr, 2025 4 commits
-
-
🐛 Apple\Apple committed -
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.
霍雨佳 committed -
# Conflicts: # web/src/App.js # web/src/components/ModelSetting.js # web/src/components/PersonalSetting.js # web/src/components/SystemSetting.js # web/src/pages/Channel/EditChannel.js
Apple\Apple committed -
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.
霍雨佳 committed
-
- 15 Apr, 2025 1 commit
-
-
CaIon committed
-
- 14 Apr, 2025 5 commits
-
-
CaIon committed
-
CaIon committed
-
CaIon committed
-
fix: wrong field for Claude (OpenAI Upstream)
Calcium-Ion committed -
CaIon committed
-
- 13 Apr, 2025 1 commit
-
-
neotf committed
-
- 12 Apr, 2025 1 commit
-
-
CaIon committed
-
- 11 Apr, 2025 6 commits
- 10 Apr, 2025 8 commits
-
-
CaIon committed
-
CaIon committed
-
fix(relay): 优化数据流处理
Calcium-Ion committed -
CaIon committed
-
- 移除了 bufio 的无效使用 - 在 StreamScannerHandler 中增加了初始和最大缓冲区大小的常量设置 - 调整 StreamScannerHandler 中缓冲区大小,避免出现token too long报错
quran committed -
fix: .env文件配置DEBUG=true等参数不起作用的fix
Calcium-Ion committed -
feat: add xAI channel
Calcium-Ion committed -
HynoR committed
-