ollama_health: Ping the Ollama server

View source: R/setup.R

ollama_healthR Documentation

Ping the Ollama server

Description

Returns TRUE if the Ollama HTTP API responds within a short timeout. Used by check_setup() and callable directly by backends.

Usage

ollama_health(
  ollama_url = getOption("screenllm.ollama_url"),
  quiet = !interactive()
)

Arguments

ollama_url

Base URL of the Ollama server.

quiet

If FALSE (the default when interactive), print status.

Value

Logical.


screenllm documentation built on Sept. 24, 2026, 5:11 p.m.