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

Description
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 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