The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(wake): _build_engine finds its engines; the provider is a select again
ethernet8966a9032b76
diff --git a/hermes_cli/web_server_config.py b/hermes_cli/web_server_config.pyindex b502ab914f9..e75e2d6ae57 100644--- a/hermes_cli/web_server_config.py+++ b/hermes_cli/web_server_config.py@@ -16,6 +16,7 @@ from hermes_cli.config import (resolve_cron_model_drift_defaults,)from hermes_cli.web_server_memory import _normalize_memory_provider_name+from tools.wake_word import _PROVIDER_PREFERENCEif TYPE_CHECKING:from hermes_cli.model_switch import ModelSwitchResult@@ -109,6 +110,10 @@ _SCHEMA_OVERRIDES: Dict[str, Dict[str, Any]] = {),"category": "security",},+ "wake_word.provider": _select(+ "Wake engine. Auto selects a platform-supported engine; Porcupine requires PORCUPINE_ACCESS_KEY.",+ "auto", *_PROVIDER_PREFERENCE,+ ),"tts.provider": _select("Text-to-speech provider","edge", "elevenlabs", "openai", "xai", "minimax", "mistral", "gemini", "neutts", "kittentts", "piper",diff --git a/tools/wake_word.py b/tools/wake_word.pyindex c44acf51f53..4639b345df6 100644--- a/tools/wake_word.py+++ b/tools/wake_word.py@@ -21,8 +21,13 @@ from dataclasses import dataclassfrom pathlib import Pathfrom typing import Any, Callable, Dict, Optional-from tools.wake_word_engines import (+# The engine classes are re-exported on purpose: _build_engine resolves the+# _PROVIDERS names on THIS module so a test (or plugin) can swap one engine.+from tools.wake_word_engines import ( # noqa: F401_Engine,+ _OpenWakeWordEngine,+ _PorcupineEngine,+ _SherpaKwsEngine,)logger = logging.getLogger(__name__)