Skip to contents

Retrieve Ollama version

Usage

ver(endpoint = "/api/version", host = NULL)

Arguments

endpoint

The endpoint to list the running models. Default is "/api/version".

host

The base URL to use. Default is NULL, which uses Ollama's default base URL.

Value

A character string of the Ollama version.

References

API documentation

Examples

if (FALSE) { # test_connection(logical = TRUE)
ver()
}