% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/providers.R
\name{llm_provider_ollama}
\alias{llm_provider_ollama}
\title{Create a local or remote Ollama LLM provider}
\usage{
llm_provider_ollama(
  model = "llama3.2",
  host = "localhost",
  port = 11434L,
  base_url = NULL,
  max_retries = 3L
)
}
\arguments{
\item{model}{Model tag, e.g. \code{"llama3.2"} or \code{"mistral"}.}

\item{host}{Hostname or IP of the Ollama server.  Defaults to
\code{"localhost"}.  Override to target a remote machine, e.g.
\code{host = "192.168.1.65"}.}

\item{port}{Port the Ollama server is listening on (default 11434).}

\item{base_url}{Full endpoint URL.  When supplied, \code{host} and \code{port} are
ignored — useful as a manual escape hatch.}

\item{max_retries}{Maximum request attempts.}
}
\value{
An \code{llm_provider} object.
}
\description{
Create a local or remote Ollama LLM provider
}
\examples{
\dontrun{
p <- llm_provider_ollama(model = "llama3.2")   # requires local Ollama server
print(p)
}
}
