Skip to content

New model store doubling model name #1278

@ericcurtin

Description

@ericcurtin

Issue Description

$ bin/ramalama ls
Starting importing AI models to new store...
Imported /Users/ecurtin/.local/share/ramalama/models/ollama/smollm:135m -> /Users/ecurtin/.local/share/ramalama/store/ollama/smollm/smollm/snapshots/sha256-e0a34469bc46d5348026979b54d997a0be594c1edfd36928bb472d34f5a1f117/smollm:135m
Imported /Users/ecurtin/.local/share/ramalama/models/ollama/smollm:1.7b -> /Users/ecurtin/.local/share/ramalama/store/ollama/smollm/smollm/snapshots/sha256-fa9c77c540510d4ac24593497c6a56df798617c9eb94bd0e9434aea9d51c9b76/smollm:1.7b
NAME                        MODIFIED               SIZE
ollama://smollm/smollm:135m Less than a second ago 87.48 MB
ollama://smollm/smollm:1.7b Less than a second ago 944.83 MB
ecurtin@ecur arm64 12:58:36 0 cli-advancements
$ bin/ramalama ls
NAME                        MODIFIED      SIZE
ollama://smollm/smollm:135m 4 seconds ago 87.48 MB
ollama://smollm/smollm:1.7b 3 seconds ago 944.83 MB

Steps to reproduce the issue

Just run an "ls" on an existing installation

Describe the results you received

The model name is duplicated

Describe the results you expected

The model name is not duplicated

ramalama info output

NA

Upstream Latest Release

Yes

Additional environment details

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions