feat(web): add provider model bulk toggle - #10947
Conversation
Add a toggle that disables every built-in model for a provider and enables them again once all are hidden.\n\nBuilt with Codex.
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR adds a new persistent bulk model-visibility capability to the provider settings UI, affecting which built-in models appear in the picker after user interaction. The implementation is small and localized, but the production behavior is new and touches a shared component, so human review is appropriate. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe provider models section adds a bulk toggle for built-in models. The toggle enables or disables all built-in models while preserving custom models and unrelated hidden entries. Tests cover both operations. ChangesProvider model bulk toggle
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This adds provider-level enable and disable actions for built-in models while preserving custom models and unrelated hidden entries. The behavior is covered by targeted tests and is ready to merge. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
What Changed
Add a provider-level bulk toggle that disables every built-in model, then changes to enable them after they are all hidden.
Why
Managing a provider with many models currently requires toggling each model one at a time.
Evidence
disable-enable-all-models.mov
Checklist
Verification
Built with Codex.
Summary by CodeRabbit