gpt-researcher v3.8 rankt Kontext pro Sub-Query per Embeddings, nutzt aber eine einzige OPENAI_BASE_URL fuer Chat UND Embeddings -> llama.cpp ohne --embeddings antwortet 501. Loesung: CPU-only llama.cpp-Sidecar (--embeddings, Alias llama-cpp-embed, nur im Production-Netz) mit nomic-embed-text-v2-moe Q8_0 (multilingual, sha256-gepinnt im model_store, Flag model_store_include_embedding nur in Production). Backend erhaelt EMBEDDING=custom:nomic-embed-text-v2-moe + GNAI_EMBEDDING_BASE_URL; ein gemountetes sitecustomize.py biegt nur OpenAIEmbeddings auf die Sidecar-URL um, Chat laeuft weiter auf llama-cpp. Verifiziert: embed_query -> 768-dim Vektor ueber llama-cpp-embed. research.yml idempotent (changed=0). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
model_store
Provides the shared, pinned model store under
/var/lib/ghostnet-ai/shared/models (GNAI-010 sections 3 and 4). Weights are
large, immutable, non-secret artifacts; every KI environment mounts its
profile directory read-only.
Variables
model_store_root– root of the shared store (default/var/lib/ghostnet-ai/shared/models).model_store_artifacts– list of pinned artifacts withprofile,directory,file,sha256,url,repository,revision,originandlicense.model_store_include_vision– additionally provisions the Swift vision projector whentrue(defaultfalse; vision stage only, GNAI-010 section 3.4).model_store_required_free_mib– free-space reserve checked before any pending download (default 71680).
Behaviour
- Manifest is validated (unique profiles, 64-hex checksums, HTTPS URLs).
- Directories are
root:root 0755, artifact filesroot:root 0644; aSOURCE.ymlprovenance record is rendered per directory. - Downloads use
wget -4into a hidden.partfile, followed by explicit SHA-256 verification; only after the checksum passed is the file moved into place (atomic). IPv4 is forced because the host resolves AAAA first but has no global IPv6 route (dual-stack CDN redirects would hang; observed 31.10.2026). - An existing file with a mismatching checksum fails the run; it is never overwritten or used.
- Check mode downloads nothing; already-present files are still verified.
Tags
models – everything in this role. The service tag of inference_engine
also re-verifies present artifacts.