pull_model: Pull an Ollama model to the local server

View source: R/setup.R

pull_modelR Documentation

Pull an Ollama model to the local server

Description

Wrapper around Ollama's HTTP pull endpoint. Streams progress messages if verbose = TRUE. Blocks until the pull completes.

Usage

pull_model(
  model,
  ollama_url = getOption("screenllm.ollama_url"),
  verbose = getOption("screenllm.verbose", TRUE)
)

Arguments

model

The model tag (e.g. "gemma3:27b").

ollama_url

Base URL of the Ollama server.

verbose

Logical.

Value

Invisible TRUE on success.


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