v2026.11.3
All Bundles
Bundle

Ollama local LLM client. Runs models (Llama, Mistral, Phi, Qwen, etc.) locally via the Ollama server. Supports text generation, chat sessions with tool calling, structured (JSON schema) output, thinking models, images, batch embeddings and model management. Every request completes before returning -- responses are not streamed, so a long generation produces nothing until it finishes. Compile with -lib ollama.

ModelPulled

Ollama model listing entry, from Model->List (/api/tags) or Model->Running (/api/ps)

Operations

GetDigest #

Get the model digest

method : public : GetDigest() ~ String

Return

TypeDescription
Stringmodel digest

GetExpiresAt #

Get when a running model will be unloaded, as the server's timestamp text (Model->Running only)

method : public : GetExpiresAt() ~ String

Return

TypeDescription
Stringexpiry timestamp, or Nil

GetModel #

Get the model

method : public : GetModel() ~ String

Return

TypeDescription
Stringmodel

GetModifiedTime #

Get modified time (Model->List only)

method : public : GetModifiedTime() ~ System.Time.Date

Return

TypeDescription
Datemodified time, or Nil

GetName #

Get the name

method : public : GetName() ~ String

Return

TypeDescription
Stringname

GetSize #

Get the model size

method : public : GetSize() ~ Int

Return

TypeDescription
Intmodel size in bytes

GetSizeVram #

Get the memory a running model uses on the GPU (Model->Running only)

method : public : GetSizeVram() ~ Int

Return

TypeDescription
Intsize in bytes, 0 if not reported

ToString #

String representation of the instance

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation of the instance