OllamaClient.deleteModel

Deletes a model from the Ollama server.

class OllamaClient
JSONValue
deleteModel
(
string name
)

Parameters

name string

The name of the model to delete (e.g., "llama3.1:8b-copy").

Return Value

Type: JSONValue

A JSONValue object with the delete status.

Meta