% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/providers.R
\name{llm_provider_gemini}
\alias{llm_provider_gemini}
\title{Create a Google Gemini LLM provider}
\usage{
llm_provider_gemini(
  api_key = Sys.getenv("GEMINI_API_KEY"),
  model = "gemini-2.0-flash",
  max_retries = 5L
)
}
\arguments{
\item{api_key}{Defaults to \code{Sys.getenv("GEMINI_API_KEY")}.}

\item{model}{Default \code{"gemini-2.0-flash"}.}

\item{max_retries}{Maximum request attempts.}
}
\value{
An \code{llm_provider} object.
}
\description{
Uses Google's OpenAI-compatible endpoint.
}
\examples{
\dontrun{
p <- llm_provider_gemini()   # reads GEMINI_API_KEY from env
print(p)
}
}
