feat: add Hermes WebUI provisioning and English Dragon HD Omni voices
Rebuild & Deploy / rebuild (push) Successful in 2m17s
Rebuild & Deploy / rebuild (push) Successful in 2m17s
This commit is contained in:
1 parent
47cc9c88a0
commit
6b8d55fc92
59 files changed
+1175
-70
No files matched your search
+6
-1
@@ -17,11 +17,16 @@ try:
|
||||
except ImportError:
|
||||
from hermes_llm import HermesLLM
|
||||
|
||||
try:
|
||||
from web.voice_catalog import normalize_default_voice
|
||||
except ImportError:
|
||||
from voice_catalog import normalize_default_voice
|
||||
|
||||
load_dotenv()
|
||||
logger = logging.getLogger("voice-agent")
|
||||
CONTROL_URL = os.getenv("CONTROL_URL", "http://127.0.0.1:8092").rstrip("/")
|
||||
CONTROL_SECRET = os.getenv("CONTROL_SERVICE_SECRET", "")
|
||||
DEFAULT_VOICE = os.getenv("AZURE_TTS_VOICE", "en-US-Ava:DragonHDOmniLatestNeural")
|
||||
DEFAULT_VOICE = normalize_default_voice(os.getenv("AZURE_TTS_VOICE", ""))
|
||||
SYSTEM_PROMPT = """You are Hope, {display_name}'s personal voice assistant, powered by their private Hermes agent.
|
||||
Speak conversationally and keep ordinary answers to one to three sentences. Do not use markdown,
|
||||
read URLs aloud, or expose hidden reasoning. Use your Hermes tools whenever needed; never claim an
|
||||
|
||||
Reference in new issue
Block a user