Harden local intent routing
This commit is contained in:
@@ -270,6 +270,8 @@ class RuntimeController:
|
||||
try:
|
||||
emb_config = self.config.models.embeddings or {}
|
||||
model_path = self.base_dir / emb_config.get("path", "models/all-MiniLM-L6-v2")
|
||||
if not model_path.exists() and not Path(emb_config.get("path", "")).is_absolute():
|
||||
model_path = self.base_dir / "models" / emb_config.get("path", "all-MiniLM-L6-v2")
|
||||
if not model_path.exists():
|
||||
print(f"Memory init skipped: embeddings model not found at {model_path}")
|
||||
self._memory_interface = None
|
||||
|
||||
Reference in New Issue
Block a user