Skip to content

v0.1.0-rc.2 — continuation probe and corrected 422 remedy (GitHub pre-release)

Pre-release
Pre-release

Choose a tag to compare

@gopalasubramanium gopalasubramanium released this 28 Oct 16:57
· 1 commit to main since this release
7e75798

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 --all and available through POST /admin/probe). Agentic clients such as Odysseus replay the previous assistant message with its reasoning_content on every follow-up turn; the gateway marks such requests needs_continuation and, until now, every deployment was excluded because no runtime reports that capability and no probe existed — the result was 422 no_eligible_deployment for a whole class of clients, and the only way out was a hand-written deployments[] override. The probe sends exactly that client shape (user → assistant with content + reasoning_content → user) through the adapter unchanged and records supported only when that request is answered with a well-formed assistant message; unsupported on 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 carrying reasoning_content. It does not verify that the model semantically uses the replayed reasoning; the OpenAI-compatible API offers no way to check that.
  • Corrected 422 remedy. The "capability … is unknown" remedy now names a probe that exists (modelsaar probe <id> --which <capability>) or, for capabilities no probe covers, only the deployments[] override. For continuation it adds that a context-length exclusion on the same deployment is separate: raising context_length/num_ctx does not establish continuation, and probing continuation does not change the context limit.
  • Default behaviour for unprobed deployments is unchanged: unknown still 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 serve

Then, 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 compute

A 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 422 against the stable cf56cdd gateway 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_files returned as a structured tool_calls delta, 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.