Skip to content

[cli] unable to register embedding model #215

@mattf

Description

@mattf

System Info

n/a

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

llama-stack-client models register all-MiniLM-L6-v2 --provider-model-id all-minilm:latest

all-MiniLM-L6-v2/all-minilm:latest is an embedding model available with ollama, see https://ollama.com/library/all-minilm

the registration request does not include model_type, see https://github.com/meta-llama/llama-stack/blob/main/docs/_static/llama-stack-spec.yaml#L4865 and https://github.com/meta-llama/llama-stack-client-python/blob/main/src/llama_stack_client/lib/cli/models/models.py#L104, which defaults to llm

Error logs

n/a

Expected behavior

expect an option to indicate the model being registered is for embedding

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