You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Consecutive custom model saves can overwrite an earlier edit #36905
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open Settings → Providers with two saved custom models, A and B.
Edit A's display name and save.
Before the server configuration stream echoes that save, edit B's display name and save. A delayed stream makes this deterministic; save receipts can arrive before configuration echoes.
Reload Settings.
Expected behavior
Both display-name edits remain saved.
Actual behavior
A silently reverts to its previous name. The second save sends the full custom-model list from the last published settings and the server persists that stale A entry alongside the new B entry.
Linux, Chromium, isolated local web client and server. The desktop app shares this editor; mobile has no custom-model editing form. No provider login or agent turn is needed.
Logs or stack traces
The component-produced writes followed by public ServerSettingsService persistence produce [Original A, Entered B]. The acknowledged-first and catalog-refresh controls pass. A real-server browser scenario with held configuration echoes also persists [Original A, Entered B] on the reported commit.
Screenshots, recordings, or supporting files
The accompanying fix PR includes the real-app regression scenario and before/after proof.
Workaround
Wait until each custom-model change appears in refreshed settings before saving another model.
Activity