#18220 · @neversaywanan · opened Mar 19, 2026 at 10:06 AM UTC · last updated Mar 21, 2026 at 8:27 AM UTC
feat: allow editing custom providers from model settings
Score breakdown
Impact
Clarity
Urgency
Ease Of Review
Guidelines
Readiness
Size
Trust
Traction
Summary
This PR implements an edit flow for custom providers, allowing users to modify existing configurations directly from model settings. The feature addresses a clear user pain point but is incomplete without UI screenshots for review.
Description
Issue for this PR
Closes #18224
Type of change
- [ ] Bug fix
- [x] New feature
- [ ] Refactor / code improvement
- [ ] Documentation
What does this PR do?
Adds an edit flow for custom providers from the model settings page.
Custom providers now show an Edit action in Settings > Models, which opens the existing custom provider dialog in edit mode. The form is prefilled from the current provider config, keeps the provider ID locked while editing, and updates the saved config without failing duplicate ID validation for the provider being edited.
When models are removed during editing, they are moved into the provider blacklist so hidden models stay hidden instead of reappearing when the provider is saved again.
How did you verify your code works?
- Ran
bun test --preload ./happydom.ts ./src/components/dialog-custom-provider.test.tsfrompackages/app - Verified editing an existing provider does not fail duplicate ID validation
- Verified removed models are added to the blacklist during edit saves
- Verified blacklisted models stay hidden when the edit form is seeded
- Manually tested the custom provider flow locally from the model settings page
Screenshots / recordings
TODO: add before/after screenshots or a short recording of editing a custom provider from Settings > Models
https://github.com/user-attachments/assets/3c1d9bc6-067a-498e-8cf6-f91e6fad3279
Checklist
- [x] I have tested my changes locally
- [x] I have not included unrelated changes in this PR
Linked Issues
#18224 [FEATURE]:allow editing custom providers from model settings
View issueComments
No comments.
Changed Files
packages/app/src/components/dialog-custom-provider-form.ts
+37−3packages/app/src/components/dialog-custom-provider.test.ts
+45−1packages/app/src/components/dialog-custom-provider.tsx
+52−8packages/app/src/components/settings-models.tsx
+19−0