
Fetch and cache a Google Cloud access token via gcloud
Source:R/vertex.R
morie_vertex_access_token.RdFetch and cache a Google Cloud access token via gcloud
Examples
if (FALSE) { # nzchar(Sys.getenv("GOOGLE_CLOUD_PROJECT")) || nzchar(Sys.getenv("MORIE_EE_PROJECT"))
# Runs only when a Google Cloud project is configured; Vertex is an
# OPTIONAL fallback -- the default LLM path is local Ollama (see
# morie_siu_panel / morie_llm_* helpers).
tok <- morie_vertex_access_token()
}