ollama_delete_model: Delete a model from the Ollama API

View source: R/api_ollama.R

ollama_delete_modelR Documentation

Delete a model from the Ollama API

Description

This function sends a DELETE request to the Ollama API to remove a specified model.

Usage

ollama_delete_model(.model, .ollama_server = "http://localhost:11434")

Arguments

.model

The name of the model to delete.

.ollama_server

The base URL of the Ollama API (default is "http://localhost:11434").


tidyllm documentation built on Aug. 22, 2025, 5:21 p.m.