2026-11-26 · A server of the researcher’s own: Ollama first, then any OpenAI-style address

2026-11-26 · A server of the researcher’s own: Ollama first, then any OpenAI-style address

Context

Kalamu reaches four companies’ services at addresses written as constants, and runs a few small models itself. Universities and computing centres run models for their members, usually behind an OpenAI-style address, and some researchers may send their material only there; others run Ollama on a stronger machine in the office (#283, first of the new directions of the review of 25 November). A colleague’s Mac with Ollama is the first real server to try.

What the code holds today, checked on 26 November:

What the servers do, read in their documentation and source on 26 November (Ollama 0.40.18):

Decision

What the researcher does

One tab in Settings, Other servers, the only place the feature shows until a server is added. Three steps, and nothing to describe by hand:

  1. Name and address. A name of the researcher’s choosing, an address (http://localhost:11434 shown as the example), and a key only under This server asks for a key. Connect.
  2. Kalamu asks the server what it is and what it has. GET <address>/api/version answered means Ollama; else GET <address>/models, then <address>/v1/models, means an OpenAI-style server; else the failure is said in plain words (nothing answers there; it answers but is not a server Kalamu knows; it refuses the key). No kind to choose. The models are listed, and the researcher ticks those to use.
  3. Kalamu tries each ticked model before it is listed (Try and add), with three small requests: an answer at all; a small picture bundled with Kalamu that holds a number, which the answer must contain; a form of two fields, which must come back filled. Each model then shows what it does in two lines, Reads pages and Fills an analysis’s form, each yes or no.

A model is offered only for what it did in its trial. Reading pages (text extraction, and a region read again) needs the picture read; analyses, corrections and translations of text need the form filled; an analysis of images and the pages of a table of contents need both, and a table of contents’ combining step the form alone; a model that did neither is not listed. Its catalogue entry is written from the trial (tasks, inputs), so New job, workflows and every dialog obey it through the rules the four providers’ models already obey, and the engine converts a page to a picture or refuses a type of file as it does for them. The researcher cannot tick an ability; Try again repeats the trial, after a model was updated on the server. Where Ollama says a model has no vision, the picture is not sent and the answer is no.

Transcription is not in this increment, and no model of such a server is offered for it. The same rule is ready for it: a model would be offered for recordings only after a short bundled clip came back transcribed. It waits for a real server to try, since Ollama’s audio models and the /v1/audio/transcriptions of other servers return neither times nor speakers in one agreed form. Whisper, in Kalamu itself, covers the need meanwhile. Also left out: batches (economy mode), embeddings for the search by meaning, and the models Ollama runs at ollama.com (remote_host set), which are shown in the list as not on this server and cannot be ticked: a local address must not send a page to a company unseen.

Under More choices, per model, each with a value Kalamu filled: Reads up to (tokens), Longest answer (tokens), Price per million tokens in and out (none by default, and the job’s cost then reads as not priced); per server, Requests at the same time (1 by default).

Never a reading in part

On this computer, or on the network

A third kind beside offline and cloud, in two halves, decided by the address alone:

Kalamu knows only the address: what a program at localhost does with a page is its owner’s affair, and the privacy policy says so. Plain http:// is accepted, Ollama speaking nothing else; for an address on the network Settings says that the files travel unencrypted, and with a key, that the key does too. Only http and https, without a user name in the address.

Provenance records it: engine is own, and a new server holds the name and the address as they were when the piece was read, so a result opened later, or on another computer, still says where it was made.

Where it lives

Sharing with the app driven in CI

The packaged app’s tests (#277) need a provider at an address that is a setting. This is it: the stand-in gains the two ways of speaking, and the packaged app is driven by adding it as a server. That work follows this increment; Addresses stays for the test build, which redirects the four providers.

Kalamu differs deliberately

Consequences

Built differently from the decision above, as found when the documents were written on 26 November: