You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deploy: the canonical embedding model is rendered into backend.env but never ensured on the configured model server #19879
Found in review of the merge train (PR #19859), member #19744.
backend.env.j2 renders AUTOBOT_EMBEDDING_MODEL as nomic-embed-text:latest on a fresh install, and again when read_deployed_embedding_model.yml replaces a deployed model that cannot embed (#19736). Nothing on the full deployment path ensures that model is present on the model server the backend is configured to use. The full deployment runs ai-stack, not the llm role that pulls models, and the separate AI-stack setup disables the model server by default. A host can therefore end up configured with an embedding model that it does not have, and every embedding call then fails.
The replacement path is no worse than before, because the replaced model could never embed. But it also does not reach a working state on such a host.
The deployment that renders AUTOBOT_EMBEDDING_MODEL ensures that the model is installed on the configured server (pull, or a check that fails loudly), for both a fresh install and a replacement.
If the server cannot be reached or the pull fails, the deployment reports this, and does not leave a silently broken embedding config.
A test pins that the deployment path which renders the variable also ensures the model is present.
Status: #20385 adds the loud check on every render of backend.env.j2 (a role deploy fails naming a missing model; the updater warns). What it leaves for this issue: an unreachable server is silent there, and nothing pulls. This work follows #20385's landing because it edits the same resolve_models.yml.
Activity
mrveiss commentedon Nov 1, 2026
Status: #20385 adds the loud check on every render of
backend.env.j2(a role deploy fails naming a missing model; the updater warns). What it leaves for this issue: an unreachable server is silent there, and nothing pulls. This work follows #20385's landing because it edits the sameresolve_models.yml.fix(install): pre-fetch the pinned whisper and codebert models, keep …