Skip to content

[BUG] When adding a new entry in model specs list, old entries get overwritten #105

Description

@JeanBaptiste-dlb
Screen.Recording.2026-08-07.at.11.19.40.mov

Hi,
so here in tab model specs, I have 2 agents:

Image

If I click add entry and write a field, the first agent in the list is dropped and replace by the new entity.

Fix suggested by Claude:

happend instead of prepend

setKeys((prev) => [...prev, newKey]);
   onChange([...items, {}]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions