Repository navigation
Releases
v0.1.0-rc.2 — continuation probe and corrected 422 remedy (GitHub pre-release)
v0.1.0-rc.2 — continuation probe and corrected 422 remedy (GitHub pre-release)
This is a release candidate for testing, not a stable release. GitHub-only pre-release: no PyPI package, no container image, no stable tag. The package version stays 0.1.0; the tag is the only marker. The one-line installer at modelsaar.com is unchanged and still pins an earlier commit that contains neither the decision-model features nor this fix — do not point it at this tag. v0.1.0-rc.1 remains available unchanged.
What changed since rc.1
- New capability probe
continuation—modelsaar probe <deployment> --which continuation(also included in--alland available throughPOST /admin/probe). Agentic clients such as Odysseus replay the previous assistant message with itsreasoning_contenton every follow-up turn; the gateway marks such requestsneeds_continuationand, until now, every deployment was excluded because no runtime reports that capability and no probe existed — the result was422 no_eligible_deploymentfor a whole class of clients, and the only way out was a hand-writtendeployments[]override. The probe sends exactly that client shape (user → assistant withcontent+reasoning_content→ user) through the adapter unchanged and recordssupportedonly when that request is answered with a well-formed assistant message;unsupportedon an explicit 4xx rejection;unknown(capability untouched) on 5xx, transport errors, a timeout (held as uncertain) or an exhausted output budget.
What it establishes: protocol acceptance — the backend accepts and answers a history carryingreasoning_content. It does not verify that the model semantically uses the replayed reasoning; the OpenAI-compatible API offers no way to check that. - Corrected
422remedy. The "capability … is unknown" remedy now names a probe that exists (modelsaar probe <id> --which <capability>) or, for capabilities no probe covers, only thedeployments[]override. Forcontinuationit adds that a context-length exclusion on the same deployment is separate: raisingcontext_length/num_ctxdoes not establish continuation, and probing continuation does not change the context limit. - Default behaviour for unprobed deployments is unchanged:
unknownstill excludes.
Everything in rc.1 is included unchanged (POST /v1/decisions, classifier mode: decision; both opt-in and experimental).
How to try it
Tester guide (pinned install path, prerequisites, limits, first requests): https://modelsaar.com/preview/decision-models/. In short — a source install at this tag, in its own directory and with its own MODELSAAR_HOME, side by side with a stable installation:
git clone https://github.com/gopalasubramanium/modelsaar.git modelsaar-preview && cd modelsaar-preview
git checkout v0.1.0-rc.2
python3 -m venv .venv && . .venv/bin/activate && pip install -e .
export MODELSAAR_HOME=~/.modelsaar-preview
modelsaar init --port 8485 # or --endpoint http://host:11434 --type ollama
modelsaar discover
modelsaar serveThen, for a client that replays reasoning (Odysseus and similar), in a second shell with the same MODELSAAR_HOME:
modelsaar probe ollama/<model> --which continuation # runs through the gateway's admission control; uses local computeA deployment that reports continuation: supported becomes eligible for such follow-up turns; one that reports unsupported was explicitly rejected by the backend; unknown means the probe could not get an answer — re-run it. If you prefer not to probe, the operator override deployments: [{backend: ollama, model: <model>, capabilities: {continuation: supported}}] still works (and is recorded with operator provenance).
Evidence and limits
- Fixture-tested in CI at this commit: 294 non-live tests (nine new for the probe, the remedy text, the Odysseus-shaped history and the override path), lint, dependency audit, secret scan, container build, installer jobs.
- Real-client evidence behind the change: the Odysseus follow-up turn returned
422against the stablecf56cddgateway and succeeded against rc.1 only with the manual override (docs/live-runs/2026-10-28-decision-preview-smoke/records the earlier rc.1 smoke test; the two real-client runs of 2026-10-28/29 are not yet committed as a public record). The probe itself has not yet been run against a live backend in this release; what it reports is defined above. - Open WebUI: its real-client test against rc.1 passed (built-in
search_knowledge_filesreturned as a structuredtool_callsdelta, executed and answered); no change in this candidate. - No benchmark has been run; no claim of quality improvement or classifier benefit is made.
Feedback: https://github.com/gopalasubramanium/modelsaar/issues. Created by Gopala Subramanium — https://me.sgopala.com. Apache-2.0.
v0.1.0-rc.1 — decision-model release candidate (GitHub pre-release)
v0.1.0-rc.1 — decision-model release candidate (GitHub pre-release)
This is a release candidate for testing, not a stable release. It is a GitHub-only pre-release: no PyPI package, no container image, no stable tag. The package version stays 0.1.0 (modelsaar --version); the tag is the only marker. The one-line installer at modelsaar.com is unchanged and still pins an earlier commit that does not contain these features — do not point it at this tag.
What is in it (opt-in, experimental)
Both features are off unless you configure them; nothing changes for existing installations.
POST /v1/decisions— ask a decision model (an Ollama model whose capabilities listdecision, e.g.nimble,clef,laya; Ollama ≥ 0.35.0) typed questions about a state and get per-option probabilities back. The request and answer are Ollama's documented System One contract (POST /v1/systemone), carried through the gateway's API-key authentication, model resolution (model= a decision-role deployment id orauto: eligible decision deployments, resident first, then by id — no quality scoring), admission, locality policy and decision records. Question typeschoice(2–255 options),noul(yes/no probability),score(2–10 levels); 1–64 questions; optional base64imagesfor vision-capable decision models. Strict validation (400naming the field;413over the documented 64 KiB text / 32 MiB whole-request limits;server.max_request_bytesbounds what the gateway reads at all). Backend answers are validated against the questions before being returned (502 decision_contract_violationotherwise). Only the Ollama backend has a decision endpoint (501 unsupported_backendelsewhere).routing.classifier.mode: decision— the optional routing classifier (consulted only when the deterministic task signals are ambiguous) can be a decision model instead of a small chat model: onechoicequestion over the closed task-label set; the arg-max label and its probability refine the task label; any timeout, error or out-of-contract answer falls back to the deterministic label exactly as before. Default remainsmode: chat, classifierenabled: false.- Discovery registers such models with role
decision; they are never offered or chosen for chat.
How to try it
Tester guide with the exact pinned install path, prerequisites, limits and a first request: https://modelsaar.com/preview/decision-models/. In short — a source install at this tag, in its own directory and with its own MODELSAAR_HOME, side by side with a stable installation:
git clone https://github.com/gopalasubramanium/modelsaar.git modelsaar-preview && cd modelsaar-preview
git checkout v0.1.0-rc.1
python3 -m venv .venv && . .venv/bin/activate && pip install -e .
export MODELSAAR_HOME=~/.modelsaar-preview
modelsaar init --port 8485 # or --endpoint http://host:11434 --type ollama
modelsaar discover # a decision model shows role "decision"
modelsaar serveContract: docs/routing.md ("Decisions"); classifier configuration: docs/extending.md; release conventions: docs/release.md ("GitHub-only pre-releases").
What the evidence does and does not show
- Fixture-tested in CI at this commit: 285 non-live tests (lint, Python 3.10/3.12/3.13, dependency audit, secret scan, container build, installer jobs) against a fake backend that speaks the documented decision API.
- One bounded live smoke test (2026-10-28, three requests, isolated checkout and home, Ollama 0.40.5 with
nimble-v3):POST /v1/decisionswith an explicit decision model (200, schema-valid), withauto(200; selected a different eligible decision model by the documented tie-break), and one ambiguous chat request withmode: decision(classifier used once, 255 ms). Record:docs/live-runs/2026-10-28-decision-preview-smoke/. - Not shown: answer quality, latency distributions, or any routing benefit of the decision-mode classifier. The 2026-10-25 classifier comparison used the chat classifier and its result (that configuration failed its timeout criteria; not a causal on-versus-off comparison) stands unchanged. No benchmark has been run with these features; no claim of benchmarked quality or classifier superiority is made.
- The wire contract follows Ollama's documented System One API and may change with it.
Also in this candidate
Everything merged on main since the untagged 0.1.0 revision (see CHANGELOG.md): the pinned-commit installer, measured-routing evidence, review fixes and the request-size bounds. Feedback: https://github.com/gopalasubramanium/modelsaar/issues.
Created by Gopala Subramanium — https://me.sgopala.com. Apache-2.0.