Skip to content

Renaming a model causes duplicates in the UI #9294

@JohnGalt1717

Description

@JohnGalt1717

LocalAI version:
LocalAI v4.1.3 (fdc9f7b)

Environment, CPU architecture, OS, and Version:
Docker, x64, Ubuntu, 24.04

Describe the bug
If you edit the model that is installed from the edit button under system, and hit save, it creates multiple models. If you delete the duplicates, it deletes all of it.

To Reproduce

  1. Load any model from the gallery.
  2. Go to system/system
  3. Click edit on a model
  4. Change the name in yaml
  5. Hit save
  6. Notice the duplicates

Expected behavior
The model name should be changed for all permutations that are created (i.e. for qwen asr there is qwen backend and vllm-omni, both should be updated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions