Release notes: 0.2.0
Rendered from docs/releases/v0.2.0.md at commit 18614e438388. The repository file is authoritative.
First stable version tag. The package remains alpha-classified: 0.2.0 adds a large set of additive or
opt-in surfaces to the 0.1 gateway, and most of them have so far been verified against controlled fixture
backends, not on real models. docs/roadmap-matrix.md in the tagged tree lists the evidence level of every
item; the summary below repeats the limits.
Upgrade notes
- A 0.1 configuration loads unchanged (
CONFIG_VERSION1). No default behaviour changes: every new feature is off until configured or addressed by its own endpoint. - The state database gains tables only when an opt-in feature is first used; rolling back to 0.1 leaves them unused.
/v1/responsesand/v1/messagesused to answer501; they now answer real requests. Clients that probed for501will see200/400instead.
Added
- Protocols —
POST /v1/responses(stateless subset; statefulstore/previous_response_id/GET·DELETE /v1/responses/{id}through an opt-in local response store) andPOST /v1/messages(Anthropic Messages), both as fail-closed translations onto the chat path with the same routing, admission and commitment rules. Hosted tools, the Conversations API, background runs, thinking budgets and similar provider-hosted features are refused with typed400s before any backend is contacted. - Token counts and served context — chat-template-exact counts for vLLM and llama.cpp; served context from
vLLM, llama.cpp and Ollama (
/api/pson the residency refresh,default_context_length, opt-inremember_served_context);doctorfails when the runtime serves less context than configured. - Managed lifecycle (opt-in) — explicit load/unload under leases and locks (
modelsaar lifecycle); llama-swap residency and per-model unload. No automatic eviction. - Pipelines —
POST /v1/guardrails(judge verdicts),POST /v1/ocr(recognition; optional layout stage through an operator-run layout service, with explicit decoded-page and crop budgets),POST /v1/voteand guardrail ensembles (bounded voting over closed choices), audio input with anaudio_inprobe, inline video input and image/audio/video embedding items on the request forms vLLM documents. - Routing options (opt-in) — cascades with structural escalation; replica scheduling across hosts;
adaptive learning from outcomes with holdout-gated activation, rollback and purge (
modelsaar learn). - Evaluation —
modelsaar judge, an optional LLM-judge pass as a separate, disclosed report. The harness and scorers are unchanged. - Release mechanics — sdist and wheel are installed fresh and exercised before publication; the container image is published for linux/amd64 and linux/arm64, each built and smoke-tested on a native runner.
What the evidence does and does not show
- Shown: contract behaviour against scripted fixture backends over real HTTP (405 tests in CI on Python 3.10,
3.12 and 3.13); wire compatibility of
/v1/responsesand/v1/messageswith the officialopenaiandanthropicPython SDKs; fresh installs from the built wheel and sdist; the installer on a real systemd user unit (x86_64 and arm64). - Not shown: quality or benefit of any new feature on real models; real Granite Guardian, GLM-OCR, audio,
video or multimodal-embedding models; a real vLLM, llama.cpp, llama-swap or PaddleX service; real agent
clients on the new protocols. Each gap is a NOT RUN row in
docs/roadmap-matrix.md. - Blocked by the runtime: multimodal embeddings and video through Ollama. Not planned: hosted tools, a layout model inside the gateway, free-text ensembles, a cluster scheduler, automatic model eviction or downloads.
Artifacts
Source: tag v0.2.0. PyPI modelsaar==0.2.0 and ghcr.io/gopalasubramanium/modelsaar:v0.2.0 are published by
the release workflow of this tag; their actual state is recorded in the GitHub release text.