Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

epic: cortex run vs cortex pull UX for Cortex Model Repos #1401

@dan-menlo

Description

@dan-menlo

Goal

  • cortex run <model> should have a default option (vs. overwhelming users with choice)
  • We can present a "menu" to the user, but also allow for default/recommended selection

Out-of-scope:

  • cortex pull and cortex run for Huggingface Model Repos

Path

As per @namchuai's suggestion, we will have differentiate between cortex run and cortex pull: #1401 (comment)

cortex pull

  • cortex pull is optimized for pulling models, and shows full list of available downloads
  • We should optimize for showing the list of available downloads, with default at the top
  • We should make the default selection for the user (i.e. they just press enter again)
  • Research CLIs to find an example of CLI UX with default selection
> cortex pull tinyllama

Default (press enter to select)
    1. 8b-gguf

Available to download:
    2. 8b-gguf-q4-km
    3. ...
    4. ...

Your selection (default: 1): 

cortex run tinyllama

  • cortex run is optimized for running local models

Case 1: If no models detected

  • We display the pull menu (similar to the above)

Case 2: 1 local model detected

  • We automatically run the local model that has been downloaded, that is part of that model family

Case 3:

  • We show a "menu" with list of local models, for user to select
> cortex run tinyllama

Local Models: (press enter to select)
    1. 8b-gguf-q2
    2. 8b-gguf-q4_km

Your selection (default: 1): 1

Tasklist

  • cortex pull/run <model> should have a "menu"
    • Better indentation for readability
    • Different sections (i.e. default, available to download)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions