OllamaClient.push

Pushes a model to the Ollama server registry.

class OllamaClient
JSONValue
push
(
string name
,
bool stream = false
)

Parameters

name string

The name of the model to push (e.g., "llama3").

stream bool

Whether to stream the response (ignored in this implementation).

Return Value

Type: JSONValue

A JSONValue object with the push status.

Meta