Skip to content

[Bug]: Consecutive custom model saves can overwrite an earlier edit #36905

Closed

Description

@StiensWout

Before submitting

  • 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

  1. Open Settings → Providers with two saved custom models, A and B.
  2. Edit A's display name and save.
  3. 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.
  4. 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.

Impact

Minor bug or occasional failure

Version or commit

pingdotgg/main @ 0035cb5 (also reproduced at 01c84c7)

Environment

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

  1. added
    vouch:trusted
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions