ping_ollama: Ping server to see if Ollama is reachable

View source: R/lib.R

ping_ollamaR Documentation

Ping server to see if Ollama is reachable

Description

Ping server to see if Ollama is reachable

Usage

ping_ollama(server = NULL, silent = FALSE, version = FALSE)

Arguments

server

URL to one or several Ollama servers (not the API). Defaults to "http://localhost:11434".

silent

suppress warnings and status (only return TRUE/FALSE).

version

return version instead of TRUE.

Value

TRUE if server is running


rollama documentation built on June 8, 2025, 11:01 a.m.