refactor(cooldown): 精简模型冷却展示与管理接口 - #606
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: QUIET Plan: Advanced Run ID: 📒 Files selected for processing (26)
💤 Files with no reviewable changes (10)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthrough本次变更移除了模型冷却筛选和凭据级模型冷却详情响应。模型冷却计数改为保留在健康组计数中。凭据页面调整状态徽章、冷却详情和响应式布局。监控页面移除模型冷却详情及提示。监控路由加载 Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to This change removes credential-level model-cooldown filtering and detail responses while retaining group-level cooldown counts and updating the related management UI. The supplied validation indicates the revised contracts and displays are aligned, with no remaining merge-blocking risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 20 functions across 13 files. (4 skipped: 4 unsupported.) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
关联 Issue / Related Issue
无关联 Issue;精简 #599 引入的模型冷却展示。
变更内容 / Change Content
凭据详情原本为每个冷却模型单独占一行,列表标记容易挤压,健康页还重复展示模型冷却提示和独立明细。本次将模型名与恢复时间合为可换行的紧凑标签,并移除多余展示及对应管理接口资源。
验证:重新运行
make check通过;相关移除行为完成 RED/GREEN 验证,9 个实际管理接口通过前端资源投影校验。已实际检查桌面、手机、长模型名、明暗主题、订阅详情、健康页和旧筛选链接规范化。管理 API 同步移除
model_cooldown筛选参数、凭据汇总与健康总计的model_cooldown字段,以及健康响应的model_cooldown_credentials;分组计数仍保留。网关调度、模型冷却、恢复及保存机制不变,无数据迁移或依赖更新。Mock 数据与验收截图仅保留在本地,未提交;无需更新公开操作文档。自查清单 / Checklist
make check,或在说明中写明无法运行的原因和未验证范围。 / I ranmake check, or documented why it could not run and what remains unverified.