shaw
|
1a9746c84d
|
feat: LDAP适配深色模式
|
2025-09-02 14:43:30 +08:00 |
|
shaw
|
86c243e1a4
|
fix: 修复loading动画错误
|
2025-09-02 11:51:38 +08:00 |
|
github-actions[bot]
|
4e094c21b7
|
chore: sync VERSION file with release v1.1.124 [skip ci]
|
2025-09-02 11:51:38 +08:00 |
|
Wesley Liddick
|
b1ca898dff
|
Merge pull request #317 from f3n9/um-5
修复账户管理页中Azure/OpenAI类型账户调度状态不准确的问题
|
2025-09-02 11:29:27 +08:00 |
|
Feng Yue
|
85196911ce
|
Merge remote-tracking branch 'f3n9/codex/fix-comments-in-unifiedopenaischeduler.js' into um-5
|
2025-09-02 10:55:57 +08:00 |
|
Feng Yue
|
e00872f9db
|
Merge pull request #1 from f3n9/codex/fix-account-management-scheduling-status
Fix schedulable flag for OpenAI and Azure accounts
|
2025-09-02 10:18:45 +08:00 |
|
Feng Yue
|
9f3fff1f27
|
fix: treat OpenAI account isActive as string
|
2025-09-02 10:13:27 +08:00 |
|
Feng Yue
|
23cb44f60f
|
fix: handle boolean account flags in OpenAI scheduler
|
2025-09-02 10:06:59 +08:00 |
|
Feng Yue
|
60428921a1
|
Fix schedulable flag for OpenAI and Azure accounts
|
2025-09-02 09:58:05 +08:00 |
|
Wesley Liddick
|
5406b5790c
|
Merge pull request #308 from f3n9/um-5
增加用户管理及Azure/Gemini相关改进
|
2025-09-02 09:33:38 +08:00 |
|
Wesley Liddick
|
d0eef7e98e
|
Merge pull request #314 from sczheng189/feat/5xx-error-circuit-breaker
feat: 改进5xx错误熔断机制和重置状态功能
|
2025-09-02 09:32:08 +08:00 |
|
sczheng189
|
f2c2bdf6d6
|
feat: 改进5xx错误熔断机制和重置状态功能
## 熔断机制优化
- 将5xx错误阈值从3次提升到10次,减少误触发
- 缩短临时错误恢复时间从60分钟到5分钟
- 支持所有5xx状态码(500-599)的统一处理
## 重置状态功能完善
后端 resetAccountStatus 新增清除:
- tempErrorAt 字段 (temp_error状态)
- sessionWindowStart/sessionWindowEnd 字段
- 5xx_errors Redis计数键
前端优化:
- 重置成功后强制刷新 loadAccounts(true)
- 避免缓存导致的状态显示不一致
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-01 21:39:39 +08:00 |
|
Feng Yue
|
68603bc046
|
Merge branch 'dev' into um-5
|
2025-09-01 12:19:53 +08:00 |
|
shaw
|
19eaed2f32
|
fix: 修复crs脚本偶尔重启失败的问题
|
2025-09-01 11:35:49 +08:00 |
|
shaw
|
5cfa3cc72f
|
feat: 添加精确的账户费用计算和时区支持
- 实现基于模型使用量的精确每日费用计算
- 添加 dateHelper 工具支持时区转换
- 移除未使用的 webhook 配置代码
- 清理环境变量和配置文件中的 webhook 相关设置
- 优化前端费用显示,使用后端精确计算的数据
- 添加 DEBUG_HTTP_TRAFFIC 调试选项支持
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-01 11:29:16 +08:00 |
|
Feng Yue
|
c979be5aab
|
fix lint/format issues
|
2025-08-31 23:31:38 +08:00 |
|
Feng Yue
|
e0c926c53d
|
Merge remote-tracking branch 'f3n9/main' into um-5
|
2025-08-31 23:21:12 +08:00 |
|
Feng Yue
|
50b372473c
|
Merge remote-tracking branch 'f3n9/main' into um-5
|
2025-08-31 23:12:46 +08:00 |
|
github-actions[bot]
|
246bdc928a
|
chore: sync VERSION file with release v1.1.123 [skip ci]
|
2025-08-31 14:58:24 +00:00 |
|
Wesley Liddick
|
f77ab03d18
|
Merge pull request #306 from iaineng/main
fix: 修复Claude账户autoStopOnWarning字段无法更新的问题
|
2025-08-31 22:58:10 +08:00 |
|
iaineng
|
26438e0c9b
|
fix: 修复Claude账户autoStopOnWarning字段无法更新的问题
在updateAccount方法的allowedUpdates数组中添加autoStopOnWarning字段,
解决通过管理后台API更新Claude账户时该字段被过滤掉的问题
|
2025-08-31 21:49:40 +08:00 |
|
github-actions[bot]
|
86f5a3e670
|
chore: sync VERSION file with release v1.1.122 [skip ci]
|
2025-08-31 12:19:06 +00:00 |
|
shaw
|
9a46310238
|
fix: 修复会话窗口使用统计问题
|
2025-08-31 20:14:12 +08:00 |
|
shaw
|
07e9bc1137
|
fix: 修复会话窗口使用统计问题
|
2025-08-31 19:04:12 +08:00 |
|
shaw
|
ef21c118e9
|
feat: 添加模型级别的小时统计数据
在 recordApiKeyUsage 方法中添加了模型级别的小时统计记录,
用于支持基于会话窗口的详细使用统计功能。
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-31 18:20:35 +08:00 |
|
shaw
|
e84c6a5555
|
feat: 实现基于费用的速率限制功能
- 新增 rateLimitCost 字段,支持按费用进行速率限制
- 新增 weeklyOpusCostLimit 字段,支持 Opus 模型周费用限制
- 优化速率限制逻辑,支持费用、请求数、token多维度控制
- 更新前端界面,添加费用限制配置选项
- 增强账户管理功能,支持费用统计和限制
- 改进 Redis 数据模型,支持费用计数器
- 优化价格计算服务,支持更精确的成本核算
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-31 17:27:37 +08:00 |
|
Feng Yue
|
0240a17c1e
|
fix lint/format issues
|
2025-08-31 14:21:56 +08:00 |
|
Feng Yue
|
e4078e36ad
|
fix npm building and code quality issue
|
2025-08-31 14:08:17 +08:00 |
|
Feng Yue
|
01274a6a96
|
Revert "add logs to fix azure request issue"
This reverts commit 2cf2574ebe.
|
2025-08-31 01:37:48 +08:00 |
|
Feng Yue
|
87c2f1dfe2
|
Revert "fix azure endpoint and api version issue"
This reverts commit 92f4fbcef3.
|
2025-08-31 01:37:18 +08:00 |
|
Feng Yue
|
7c4cbe6ed7
|
Revert "add debug log for headers and body of Azure OpenAI requests"
This reverts commit 70c8cb5aff.
|
2025-08-31 01:36:13 +08:00 |
|
Feng Yue
|
bf732b9525
|
Partially Revert "fix azure openai usage count issue"
This reverts commit dc3d311def.
|
2025-08-31 01:34:40 +08:00 |
|
Feng Yue
|
b00d0eb9e1
|
use proxy if configured in all Gemini API requests
|
2025-08-31 01:21:25 +08:00 |
|
Feng Yue
|
1762669de4
|
use proxy if configured in Gemini OAuth requests
|
2025-08-31 01:00:49 +08:00 |
|
Feng Yue
|
dc3d311def
|
fix azure openai usage count issue
|
2025-08-30 20:45:01 +08:00 |
|
shaw
|
a54622e3d7
|
Revert "Merge pull request #292 from iRubbish/dev"
This reverts commit 9e8e74ce6b, reversing
changes made to 222f4e44fe.
|
2025-08-30 20:09:41 +08:00 |
|
shaw
|
3bc239e85c
|
Merge branch 'main' into dev
|
2025-08-30 19:55:33 +08:00 |
|
Feng Yue
|
70c8cb5aff
|
add debug log for headers and body of Azure OpenAI requests
|
2025-08-30 19:25:06 +08:00 |
|
Feng Yue
|
92f4fbcef3
|
fix azure endpoint and api version issue
|
2025-08-30 18:55:24 +08:00 |
|
Feng Yue
|
2cf2574ebe
|
add logs to fix azure request issue
|
2025-08-30 18:46:46 +08:00 |
|
Feng Yue
|
06f7e3c28f
|
fix azure account editing issue
|
2025-08-30 18:20:31 +08:00 |
|
Feng Yue
|
90574bc4e6
|
fix azure account editing issue
|
2025-08-30 18:16:11 +08:00 |
|
Feng Yue
|
d01bcdbaca
|
fix azure account issue
|
2025-08-30 17:58:50 +08:00 |
|
Feng Yue
|
76ec2e6afb
|
add new models to supported model list
|
2025-08-30 17:40:50 +08:00 |
|
Feng Yue
|
34629a9bb2
|
add support of gpt-5, gpt-5-mini and codex-mini models in Azure
|
2025-08-30 17:17:05 +08:00 |
|
Feng Yue
|
c638c8b82c
|
Merge remote-tracking branch 'f3n9/main' into um-5
|
2025-08-30 15:39:33 +08:00 |
|
Wesley Liddick
|
3f1117e8f6
|
Merge pull request #293 from hging/main [skip ci]
feat: 增加Bark作为webhook渠道
|
2025-08-28 13:39:13 +08:00 |
|
github-actions[bot]
|
a608b267ae
|
chore: sync VERSION file with release v1.1.121 [skip ci]
|
2025-08-28 08:43:49 +08:00 |
|
zjpyb
|
43cf7d3c28
|
fix: 修复Gemini v1beta非流式响应数据结构问题
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-28 08:43:48 +08:00 |
|
zjpyb
|
7c3257764c
|
fix: 修复Gemini v1beta流式响应中断问题
- 优化SSE流式响应处理逻辑,修复客户端接收第一条消息后断开连接的问题
- 统一流处理缓冲区,正确处理不完整的SSE行
- v1beta版本返回response字段内容,v1internal保持原始转发
- 移除调试日志输出,提升生产环境稳定性
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-08-28 08:43:48 +08:00 |
|