Skip to main content

list_models

Function list_models 

Source
pub async fn list_models(config: &Config) -> Result<()>
Expand description

List available models across all backends (honors user config). Read-only: a dead local server is reported, never resurrected — a cloud-model user who stopped Ollama on purpose must be able to enumerate without a surprise VRAM grab.