Skip to contents

Scans a directory for .gguf files and returns a tibble with their names, sizes, and modification times. No server needed.

Usage

llamacpp_list_local_models(
  .path = Sys.getenv("LLAMACPP_MODEL_DIR", "~/models")
)

Arguments

.path

Directory to scan (default: LLAMACPP_MODEL_DIR env var, then "~/models"). The path is expanded with path.expand().

Value

A tibble with columns filename, size_gb, modified, and path.