ollama_installed_models: List Ollama models installed on the local server

View source: R/setup.R

ollama_installed_modelsR Documentation

List Ollama models installed on the local server

Description

List Ollama models installed on the local server

Usage

ollama_installed_models(
  ollama_url = getOption("screenllm.ollama_url"),
  include_embedding = FALSE
)

Arguments

ollama_url

Base URL of the Ollama server.

include_embedding

Logical. Include known embedding-only models (e.g. mxbai-embed-large, nomic-embed-text, snowflake-arctic-embed, all-minilm) in the returned list. Defaults to FALSE; these models do not respond to Ollama's ⁠/api/generate⁠ in the shape screenllm needs, so exposing them in a chat-model picker would silently produce all-NA rankings.

Value

Character vector of model tags. Empty character vector if the server is not reachable.


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