Skip to contents

Check Ollama Model is Available

Usage

ollama_check_model(x)

Arguments

x

Character: Name of model.

Value

NULL, invisibly if model is available; otherwise throws an error.

Author

EDG

Examples

# Requires running Ollama server
if (FALSE) { # \dontrun{
  ollama_check_model("gemma4:e4b")
} # }