hkxiaoyao
db110fe9dd
test(gateway): drop shared openai-scoped mappings in non-openai fixture cases
...
候选调度测试的共享夹具(support::sample_row)默认把上游名映射限定在
openai 格式;required_capability/selection 中走 gemini、claude 端点的
用例此前依赖“默认名兜底”的旧语义。新增 sample_row_without_model_mappings()
并替换 10 处调用,使这些用例继续只验证各自的 OAuth/能力过滤意图。
2026-10-08 15:12:54 +08:00
hkxiaoyao
58ec544aac
fix(scheduler): confine model mappings to endpoint and api-format scope
...
映射限定了端点或 API 格式范围时,默认上游模型名只在该范围内可用;
范围之外整行不再参与候选,避免把上游不认识的默认名发到未开启的端点
(例如仅将 gpt-6-luna 映射到 openai:chat 的行,不再经 claude:messages 回退默认名)。
- 调度核心:可用性解析调整 + 2 条回归单测
- 数据层镜像同步:memory 仓储过滤、Postgres 请求模型过滤 SQL(含断言测试)
2026-10-08 15:12:54 +08:00
hkxiaoyao
fae51a0ec8
fix(frontend): preserve provider order across pagination
2026-09-30 16:43:50 +08:00
hkxiaoyao
01acff0774
fix(routing): preserve fixed order for streaming chat
2026-09-15 08:13:45 +08:00
hkxiaoyao
f753f14fd2
style(pool): satisfy rustfmt for stale score test
2026-09-14 20:54:37 +08:00
hkxiaoyao
7daf355e65
fix(pool): keep schedulable keys when stale inactive scores exist
...
- delete pool member scores when a provider key is deactivated
- fall through to the catalog key scan when the pool score page is empty
- log skipped local candidates with a skip_reason for diagnosis
- add regressions for inactive keys with stale available scores
2026-09-14 20:42:47 +08:00