shaw
|
0fd2e9216d
|
fix(scheduler): 修复 OpenAI 高级调度器审计发现的正确性与性能问题
针对 #3692 合并后审计发现的问题集中修复:
- previous_response_id 剥离条件改为按 call_id 全覆盖校验,
部分可重建的工具续链不再被误剥离(不受开关门控的行为回归)
- 粘性加权回退路径补分组归属校验并清理失效绑定,杜绝跨分组账号泄漏
- 账号列表页:无 OpenAI 账号时跳过分数计算、过滤池限定 openai 平台、
负载批查合并为账号并集一次查询,消除全表扫描与 Redis N+1
- 订阅优先模式下常规池不可用时回退订阅池等待计划,
busy-but-waitable 的订阅账号不再导致请求硬失败
- TopK/权重 DB 覆盖显式受总开关门控,与兄弟子开关语义一致
- 前端未分组 OpenAI 账号回退展示基础分,不再显示 "-"
- ListAllWithFilters 等能力正式进入 AccountRepository/AdminService 接口,
移除匿名接口断言与静默降级;负载批查失败补 warn 日志
- SelectAccountWithSchedulerForCapability 增加显式 previousResponseCanMove
参数,移除 "previous_response_can_move" 魔法字符串哨兵
- 设置写入路径补"基础权重不得全为零"聚合校验;
运行时设置批量读取失败的降级路径覆盖全部键并留痕
|
2026-07-06 11:43:16 +08:00 |
|
mxyhi
|
82553c4dca
|
fix(openai): preserve quota platform in usage billing
|
2026-06-28 11:13:09 +08:00 |
|
shaw
|
fcd3bc1272
|
fix: return 404 model_not_found instead of 503 when no account supports the model
|
2026-06-26 15:38:06 +08:00 |
|
 Wesley LiddickandGitHub
|
69e7c4db30
|
Merge pull request #2865 from wey-gu/feat/usage-request-context
fix(gateway): preserve usage request context
|
2026-05-29 16:21:59 +08:00 |
|
shaw
|
ed1b57c597
|
fix(openai): gate routing by endpoint capability
|
2026-05-29 08:58:10 +08:00 |
|
Wey Gu
|
2bd3125d0f
|
Preserve usage request context
|
2026-05-28 22:44:25 +08:00 |
|
Wey Gu
|
ccace69d4e
|
Add OpenAI embeddings gateway
|
2026-05-28 19:39:52 +08:00 |
|