When HermesHub starts, if the BGE-m3 model has not been downloaded to the local path, SkillIndexer crashes immediately.
When HermesHub starts, if the BGE-m3 model has not been downloaded to the local path, SkillIndexer crashes immediately. The local path is hard-coded as ~/.cache/huggingface/..., which does not exist on other machines.
Inspect the RAG config, ingestion log, retrieval log, and cache status to confirm the exact mismatch before applying the fix.
_init_embedding_model() in skill_indexer.py loads the model with local_files_only=True, and the model path is a hard-coded machine-specific absolute path. There is no fallback mechanism and no environment-variable override.
EMBEDDING_MODEL_PATH environment variable → model name (auto-download)register_skill skips semantic deduplication)_generate_embedding() return an empty list, so search_skills falls back to keyword matchingecho "Lesson: BGE Embedding Fallback Crash"
wc -l lessons/contrib/bge-embedding-fallback-crash.mdExpected Output:
Lesson: BGE Embedding Fallback Crash
# (line count)Any non-development Node machine (Node 1/2/3/6) without a pre-downloaded BGE-m3 model cache.