Misc cleanup + clear language model provider API key editors when API keys are submitted (#38165)

Followup to #38163 along with some other misc cleanups

Release Notes:

- N/A
634ae72cadMichael Sloan committed on 9/15/2025, 5:08:38 AM· committed by GitHubparent98edf1b
10 files changedLine totals unavailable