Skip to contents

This function checks whether the Ollama server is running at `http://localhost:11434/`. It sends a request to the URL and determines if the server is reachable.

Usage

check_ollama()

Value

A character string: `"ollama is running"` if the server is accessible, otherwise `"ollama is not running"`.