% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vlm-providers.R
\name{vlm_pick_provider}
\alias{vlm_pick_provider}
\title{Pick the best available VLM provider}
\usage{
vlm_pick_provider(verbose = TRUE)
}
\arguments{
\item{verbose}{If \code{TRUE} (default), emits a one-line
\code{cli} message explaining the chosen provider.}
}
\value{
Character scalar: one of \code{"ollama"}, \code{"anthropic"},
        \code{"openai"}, \code{"google"}.
}
\description{
Selects a provider based on what is reachable in the user's
environment, in this preference order: local Ollama (if
\code{ollama_is_running()}), then Anthropic, OpenAI, and Google
(each requires the relevant \code{*_API_KEY} environment variable).
Errors with an actionable installation / API-key hint when no
provider is reachable.
}
