CaIon
ff41e65d9b
fix: FreeBSD build failure due to type mismatch in Statfs_t fields ( #2793 )
...
Explicitly cast Blocks, Bavail, and Bfree to uint64 for cross-platform compatibility,
as these fields are int64 on FreeBSD but uint64 on Linux.
2026-02-02 00:36:36 +08:00
Calcium-Ion
1c983a04d3
feat: disk request body cache ( #2780 )
...
* feat: 引入通用 HTTP BodyStorage/DiskCache 缓存配置与管理
- 新增 common/body_storage.go 提供 HTTP 请求体存储抽象和文件缓存能力
- 增加 common/disk_cache_config.go 支持全局磁盘缓存配置
- main.go 挂载缓存初始化流程
- 新增和补充 controller/performance.go (及 unix/windows) 用于缓存性能监控接口
- middleware/body_cleanup.go 自动清理缓存文件
- router 挂载相关接口
- 前端 settings 页面新增性能监控设置 PerformanceSetting
- 优化缓存开关状态和模块热插拔能力
- 其他相关文件同步适配缓存扩展
* fix: 修复 BodyStorage 并发安全和错误处理问题
- 修复 diskStorage.Close() 竞态条件,先获取锁再执行 CAS
- 为 memoryStorage 添加互斥锁和 closed 状态检查
- 修复 CreateBodyStorageFromReader 在磁盘存储失败时的回退逻辑
- 添加缓存命中统计调用 (IncrementDiskCacheHits/IncrementMemoryCacheHits)
- 修复 gin.go 中 Seek 错误被忽略的问题
- 在 api-router 添加 BodyStorageCleanup 中间件
- 修复前端 formatBytes 对异常值的处理
Co-authored-by: Cursor <cursoragent@cursor.com >
---------
Co-authored-by: Cursor <cursoragent@cursor.com >
v0.10.7-alpha.2
2026-01-30 01:00:49 +08:00
Calcium-Ion
1e9b567fc0
Merge pull request #2766 from seefs001/fix/response-compact-price
...
fix: /v1/responses/compact default billing
2026-01-29 23:24:31 +08:00
Calcium-Ion
8d5ac479f5
Merge pull request #2765 from seefs001/fix/2763
...
fix: remove disable_parallel_tool_use if tool_choice=none
2026-01-29 23:24:11 +08:00
Calcium-Ion
9d0fde91f7
Merge pull request #2779 from RedwindA/feat/gemini2oaiSTOP
...
feat(gemini): map OpenAI stop to Gemini stopSequences
2026-01-29 23:21:35 +08:00
RedwindA
826d4b9190
feat(gemini): map OpenAI stop to Gemini stopSequences
2026-01-29 21:30:27 +08:00
CaIon
b44c1304a0
Update readme docs links
2026-01-28 22:50:47 +08:00
CaIon
8464363855
Update readme
2026-01-28 22:38:14 +08:00
Seefs
b1842b908e
fix: /v1/responses/compact default billing
2026-01-28 14:22:34 +08:00
Seefs
41b33e85db
fix: disable_parallel_tool_use parameter should be removed for tool_choice=none:
2026-01-28 13:31:14 +08:00
CaIon
ef66cd864c
docs: add HelloGitHub and Product Hunt badges to README
2026-01-28 13:29:22 +08:00
Calcium-Ion
d72cfc8590
Add link to GitHub Security Advisories for reporting
...
Updated the reporting method for security issues to include a link to the draft security advisory.
2026-01-26 20:43:12 +08:00
CaIon
04de79ac43
feat: add CODE_OF_CONDUCT and SECURITY.md files for community guidelines and vulnerability reporting
2026-01-26 20:37:50 +08:00
Calcium-Ion
e74b92276e
Update LICENSE file
2026-01-26 20:24:28 +08:00
Seefs
478f1871d6
feat: grok Usage Guidelines Violation Fee ( #2753 )
...
* feat: grok Usage Guidelines Violation Fee ui setting
* feat: grok Usage Guidelines Violation Fee consume log
* fix: grok Usage Guidelines Violation Fee log detail
v0.10.7-alpha.1
2026-01-26 20:20:30 +08:00
Seefs
cc1da72d10
feat: openai response /v1/response/compact ( #2644 )
...
* feat: openai response /v1/response/compact
* feat: /v1/response/compact bill
* feat: /v1/response/compact
* feat: /v1/responses/compact -> codex channel
* feat: /v1/responses/compact -> codex channel
* feat: /v1/responses/compact -> codex channel
* feat: codex channel default models
* feat: compact model price
* feat: /v1/responses/comapct test
2026-01-26 20:20:16 +08:00
Seefs
d7d3a2f763
feat: channel affinity ( #2669 )
...
* feat: channel affinity
* feat: channel affinity -> model setting
* fix: channel affinity
* feat: channel affinity op
* feat: channel_type setting
* feat: clean
* feat: cache supports both memory and Redis.
* feat: Optimise ui/ux
* feat: Optimise ui/ux
* feat: Optimise codex usage ui/ux
* feat: Optimise ui/ux
* feat: Optimise ui/ux
* feat: Optimise ui/ux
* feat: If the affinitized channel fails and a retry succeeds on another channel, update the affinity to the successful channel
2026-01-26 19:57:41 +08:00
Seefs
7da04be52b
fix: test using the correct path for rerank ( #2736 )
...
* fix: test using the correct path for rerank.
* fix: The `input` parameter for testing responses uses an array to accommodate certain channels, such as Codex, which are incompatible with single strings.
2026-01-26 19:57:15 +08:00
Seefs
ac8f17c827
Merge pull request #2735 from seefs001/feature/header-throughpass
...
feat: header passthrough
2026-01-26 19:56:51 +08:00
Seefs
6b85114148
Merge pull request #2610 from Bliod-Cook/main
2026-01-26 17:30:02 +08:00
Seefs
35c055e1c1
Merge pull request #2749 from wans10/main
2026-01-26 16:50:44 +08:00
Calcium-Ion
3722c63c18
Merge pull request #2742 from seefs001/fix/pr-2540
...
feat(gemini): 支持 tool_choice 参数转换,优化多个渠道错误处理
2026-01-26 15:12:09 +08:00
Bliod-Cook
d77bb794d0
Merge branch 'main' into pr/Bliod-Cook/2610
2026-01-26 05:23:51 +00:00
wans10
f00a25c7ec
fix(topup): 修复用户配额获取逻辑
...
- 移除用户ID检查条件,始终获取最新用户数据
- 确保余额等统计信息准确性
- 解决用户状态更新不及时的问题
2026-01-26 09:34:09 +08:00
Seefs
df43193600
Merge pull request #2738 from Li-Xingyu/main
2026-01-25 16:42:36 +08:00
Seefs
7d64e5908c
Revert "feat: xai refusal reason"
...
This reverts commit fd25b60e7a .
2026-01-25 16:38:58 +08:00
Seefs
fd25b60e7a
feat: xai refusal reason
2026-01-25 16:07:37 +08:00
Seefs
48efa1ddb9
fix: reason convert
2026-01-25 15:31:23 +08:00
Seefs
7afa476770
feat: claude refusal reason
2026-01-25 15:21:31 +08:00
Seefs
dda40ef62a
feat: logs show reject reason
2026-01-25 15:00:30 +08:00
Seefs
00c5d9ffdf
feat: logs show reject reason
2026-01-25 14:52:18 +08:00
Li-Xingyu
ec826e67b5
feat: enhance Authorization header handling with Header Override support
2026-01-25 14:36:37 +08:00
Seefs
68d9a227dd
fix: Charge locally even if there's an error
2026-01-25 14:32:51 +08:00
Seefs
d5b3d4b990
Merge branch 'upstream-main' into fix/pr-2540
...
# Conflicts:
# relay/channel/gemini/relay-gemini.go
2026-01-25 14:14:05 +08:00
Seefs
c49f820e24
Merge pull request #2693 from daggeryu/main
...
fix request pass-through aws channels can't test
2026-01-25 12:10:34 +08:00
Li-Xingyu
1e0ba95dc0
feat: enhance Authorization header handling with Header Override support
2026-01-25 04:28:11 +08:00
Seefs
51751c9101
Merge pull request #2713 from feitianbubu/pr/0eba660886e20b852bff73ff4ecd52d73a447981
2026-01-22 19:46:17 +08:00
Calcium-Ion
d841481e82
Merge pull request #2717 from xyfacai/feat/qwen-config
...
feat(qwen): support qwen image sync image model config
2026-01-22 18:50:39 +08:00
Xyfacai
cf745623f8
feat(qwen): support qwen image sync image model config
2026-01-22 17:46:36 +08:00
feitianbubu
151d7bedae
feat: requestId time string use UTC
2026-01-22 08:58:35 +08:00
Calcium-Ion
b28ac71722
Merge pull request #2703 from seefs001/feature/log-conversion-info
...
feat: log shows request conversion
v0.10.6-alpha.4
2026-01-21 23:48:08 +08:00
Calcium-Ion
824c7a2cd6
Merge pull request #2702 from seefs001/fix/ali-baseurl
...
fix: replace Alibaba's Claude-compatible url with new url
2026-01-21 23:47:59 +08:00
Calcium-Ion
702c05c7b1
Merge pull request #2701 from seefs001/fix/gemini-tool-call-index
...
fix: calls to multiple tools in gemini all return index=0
2026-01-21 23:47:48 +08:00
Calcium-Ion
c08a9348b3
Merge pull request #2663 from seefs001/feature/retry-status-code
...
feat: customizable automatic retry status codes
2026-01-21 23:47:31 +08:00
Calcium-Ion
1af0269d78
Merge pull request #2684 from seefs001/fix/codex-rm-max-output-tokens
...
fix: codex Unsupported parameter: max_output_tokens
2026-01-21 23:47:17 +08:00
Calcium-Ion
4a6e423120
Merge pull request #2676 from seefs001/fix/aff-login-method
...
fix: the login method cannot be displayed under the aff link.
2026-01-21 23:47:05 +08:00
Calcium-Ion
e25478b10b
Merge pull request #2668 from seefs001/feature/ignore-tls-config
...
feat: TLS_INSECURE_SKIP_VERIFY env
2026-01-21 23:46:52 +08:00
Calcium-Ion
089dd8aa45
Merge pull request #2667 from seefs001/fix/gemini-whitelist-field
...
fix: openAI function to gemini function field adjusted to whitelist mode
2026-01-21 23:45:57 +08:00
Calcium-Ion
9f7ec08106
Merge pull request #2710 from QuantumNous/revert-2691-pr/5f73324da8aebf6a98269c242dda05da3ea6d7bc
...
Revert "fix: video content api Priority use url field"
2026-01-21 23:39:59 +08:00
Seefs
fdaa573c11
Revert "fix: video content api Priority use url field"
2026-01-21 23:38:47 +08:00