Skip to content

ModelSaar 0.3.0

Latest

Choose a tag to compare

@gopalasubramanium gopalasubramanium released this 05 Dec 06:09
· 4 commits to main since this release
0a85873

ModelSaar 0.3.0

ModelSaar routes requests from AI clients to the local models an operator configures. This version adds caller-owned conversations, media inputs on supported backends, operator-controlled model management and inference across explicitly configured workers.

What changes for an existing installation

The gateway now caps a deployment's configured context at an observed lower served context. Memory admission uses reported resident bytes when available, including runtime allocations the old weights-only estimate missed. An installation close to its memory budget may refuse requests it previously accepted. Operators can inspect the source in modelsaar doctor and select resource_pools[].memory_evidence: estimate to retain the earlier accounting.

The normal install continues to use the existing configuration, keys and state. The additional operations below require explicit configuration or request types. Older models and backends retain their declared restrictions.

Features

  • Hosted tools. The Responses API can search documents registered by the operator, call a fixed HTTP endpoint or use a local MCP server. An administrator grants tools to individual keys and sets the time, call and size limits. The operator guide covers configuration, audit and streamed responses. Hardware checks covered all three tool types, real embeddings, the official MCP SDK and a streamed file search through the OpenAI SDK.
  • Stored work and feedback. The Conversations API supports caller-owned history, paginated items and serialized writes. A free-text ensemble can return one candidate verbatim or have a specified model synthesize the candidates. Feedback can be calibrated and evaluated on an operator's own measurements.
  • Models and compute. Administrators can allow a runtime to download a named, pinned model, enable eviction of idle models, and place verified weights on a worker with enough room. Cluster jobs use a caller-owned idempotency key. A queued request can move to another worker. If a worker may already have generated an answer, the receipt reports an uncertain outcome and a retry cannot execute it a second time.
  • Images, audio, video and documents. Ollama image and audio embedding inputs use its native API on supported versions. vLLM can take native video inputs with suitable chat or embedding models. An operator can explicitly sample video into frames on other vision backends. OCR can use built-in page segmentation, an external detector or an operator-supplied ONNX model pinned by digest.
  • Estimates and backend options. When available, the gateway uses the runtime's chat-template token counts. Operators can calibrate an Ollama estimate against reported usage. The request-field policy reflects verified runtime support, and the evaluation isolation check reports what the operator's machine can run safely.

Reading the evidence

The capability matrix and hardware checks document the exact backends, models and inputs. The two-worker tests covered a worker disappearing while another job was queued and a lost acknowledgment after real generation. Model quality, OCR accuracy on representative documents and memory use on a different host require measurements there.

Release checks on the GX10

An isolated installation upgraded from 0.2.0 to candidate 13535b669381 while the production service continued serving. Using qwen3.8, the candidate completed ordinary and streamed chat, a follow-up carrying reasoning history, and direct Responses and Messages requests. The official OpenAI 3.65.0 and Anthropic 2.17.0 Python clients both received replies. With response storage disabled, the gateway refused a stateful request. Rolling the isolated installation back to 0.2.0 restored working chat. Configuration and keys matched their original checksums through both changes. Fresh installs of both the wheel and source archive also passed the packaged command and resource checks.

Upgrade and rollback

Use the installer guide for a managed service. Save a private backup of your configuration, keys and state before upgrading. A previous installer-managed 0.2.0 service can select its verified source commit with MODELSAAR_REF=31b8dc68de6a5a14b93a959391702920ac423f5d sh install.sh. Check the running service version and send an authenticated request after the switch. Other install paths use the versioned source tag, the Python package or the Linux amd64/arm64 container.

Verified distributions: PyPI and Linux amd64/arm64 container.

Public installer and production verification

The public installer and the online guide use the source tagged v0.3.0 (0a85873ec074). On 2026-12-05, the existing GX10 production service upgraded from 0.2.0 with its configuration and keys preserved. The running process and health endpoint identified 0.3.0. Authenticated requests to Chat Completions, Responses and Messages each returned the expected answer (13), and a request without credentials returned HTTP 401. The previous environment and an integrity-checked private state backup are available for rollback. An isolated upgrade of this exact revision and rollback were also exercised before production.

On a separate host, the public PyPI distribution completed document search, a fixed HTTP lookup and local MCP calls over JSON and SSE against two real model services. Each final answer included the fresh value supplied by its tool. The official OpenAI SDK received a streamed file-search answer. These tools require operator configuration and per-key grants. The GX10 also installed the public Python package in a clean environment and executed the anonymously downloaded Linux ARM64 container.

Installer and upgrade guide · Hosted tool configuration · Feature evidence and remaining limits

The initial production reasoning-history replay returned 422 while continuation was unknown. The targeted modelsaar probe ollama/qwen3.8:latest --which continuation reported support; the same follow-up then completed through auto with the expected answer. A native tool request on qwen3-coder returned a structured function call and then answered with the exact synthetic lookup result. Both checks used client-shaped API requests. They did not drive the Odysseus or Open WebUI interfaces.