v2026.5.3
All Bundles
Bundle Ollama local LLM client. Runs models (Llama, Mistral, Phi, etc.) locally via the Ollama server. Supports streaming completions, chat sessions, embeddings, and model management. Compile with -lib ollama.

EndPoint

Ollama enabled endpoint class

Operations

GetHost # function

Gets the Ollama server host URL. Defaults to http://localhost:11434.

function : GetHost() ~ String

Return

TypeDescription
Stringhost URL

GetLastError # function

Get the last error

function : GetLastError() ~ String

Return

TypeDescription
Stringlast error

SetHost # function

Sets the Ollama server host URL (e.g. "http://myserver:11434")

function : SetHost(host:String) ~ Nil

Parameters

NameTypeDescription
hostStringserver URL without trailing slash