pub const MODELS_CATALOG_DIR: &'static str;Expand description
Model catalog subdirectory, bind-mounted into the ollama Compose service as
/root/.ollama/models (see docker-compose.yml.template). Must exist on disk before
mecha10 dev’s first docker compose up for a project that only uses an Ollama-backed
node (e.g. llm-command) and never pulls an ONNX catalog model - otherwise this
subdirectory is only ever created lazily by ModelService::catalog_model_dir on a
catalog pull, and Docker’s own auto-create of a missing bind-mount target can fail with
“mkdir /root/.ollama: no such file or directory” on hosts where it can’t create nested
missing directories through the mount.