Which route morie_llm_ask would take now, without sending
anything. The routes are rmoriebricklayer's: an endpoint of your own, then
each provider whose key is set (OpenAI, Anthropic, Google Gemini, OpenRouter,
Groq, Mistral and more: rmoriebricklayer::bricklayer_llm_providers()),
then Ollama (on this machine, another one, or ollama.com with your Ollama
key). morie_llm_config or rmorie config setup sets them up.
Examples
old <- Sys.getenv(c("OLLAMA_HOST", "XDG_CONFIG_HOME"), unset = NA)
Sys.setenv(OLLAMA_HOST = "off", XDG_CONFIG_HOME = tempfile())
morie_llm_detect_provider()
#> [1] "local"
for (v in names(old)) if (is.na(old[[v]])) Sys.unsetenv(v) else do.call(Sys.setenv, as.list(old[v]))
