% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hf.R
\name{llama_hf_cache_clear}
\alias{llama_hf_cache_clear}
\title{Clear the model cache}
\usage{
llama_hf_cache_clear(repo_id = NULL, confirm = TRUE, cache_dir = NULL)
}
\arguments{
\item{repo_id}{Character or \code{NULL}. If specified, only remove cached
files from this repository. If \code{NULL}, clear the entire cache.}

\item{confirm}{Logical. If \code{TRUE} (default), ask for confirmation
before deleting files in interactive sessions.}

\item{cache_dir}{Character or \code{NULL}. Cache directory to clear.
Defaults to \code{\link{llama_hf_cache_dir}()}.}
}
\value{
Invisible \code{NULL}. Called for its side effect of deleting
  cached files.
}
\description{
Removes cached model files. Can clear the entire cache or only files
from a specific repository.
}
\examples{
\donttest{
llama_hf_cache_clear(confirm = FALSE)
}
}
