% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llama.R
\name{llama_get_model}
\alias{llama_get_model}
\title{Get the model associated with a context}
\usage{
llama_get_model(ctx)
}
\arguments{
\item{ctx}{Context handle returned by [llama_new_context]}
}
\value{
A model handle (external pointer), equivalent to the original
  handle returned by [llama_load_model].
}
\description{
Returns the model handle that was used to create this context.
The returned object is the same R external pointer that was passed to
[llama_new_context] — no new allocation occurs.
}
