Returns the names of all models already downloaded to your local Ollama
installation. Requires Ollama to be running (call ensure_ollama_running()
first, or start it manually with ollama serve).
Value
A character vector of model names (e.g. c("qwen2.5:7b", "mistral:7b")),
or an empty character vector if Ollama is not running.
Examples
if (FALSE) { # \dontrun{
ensure_ollama_running()
list_ollama_models()
} # }