Skip to contents

Probe a local Ollama instance

Usage

morie_llm_probe_ollama(timeout = 2)

Arguments

timeout

Probe timeout in seconds.

Value

Logical scalar – TRUE when reachable.

Examples

# \dontrun (not \donttest): this reaches the network. \donttest
# examples ARE run by pkgdown and by CRAN's --run-donttest.
if (FALSE) { # \dontrun{
if (requireNamespace("httr2", quietly = TRUE)) {
  morie_llm_probe_ollama()  # the answer is cached for the session
}
} # }