% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llama.R
\name{llama_free_context}
\alias{llama_free_context}
\title{Free an inference context}
\usage{
llama_free_context(ctx)
}
\arguments{
\item{ctx}{Context handle returned by [llama_new_context]}
}
\value{
No return value, called for side effects. Releases the memory
  associated with the inference context.
}
\description{
Free an inference context
}
\examples{
\dontrun{
model <- llama_load_model("model.gguf")
ctx <- llama_new_context(model)
# ... use context ...
llama_free_context(ctx)
}
}
