Learn R Programming

tidyllm (version 0.5.1)

llamacpp_list_local_models: List Local GGUF Model Files

Description

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")
)

Value

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

Arguments

.path

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