OllamaClient.copy

Copies an existing model to a new name on the Ollama server.

class OllamaClient
JSONValue
copy
(
string source
,)

Parameters

source string

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

destination string

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

Return Value

Type: JSONValue

A JSONValue object with the copy status.

Meta