Xiaozhi WebSocket endpoint with handshake/auth, mock STT/TTS/Hermes backends, Thai chunker, barge-in queue, latency logger, GPU planner, voice-profile guard (reasoning=none, session_search only). CON-002: no GPU/audio libs loaded at import. MUST-NOT-001: all model names/tokens from config.
11 lines
347 B
Python
11 lines
347 B
Python
"""Hermes-Xiaozhi Bridge — glue layer (not a framework).
|
|
|
|
Import-safety contract (CON-002): importing ``app`` must never pull in a
|
|
GPU/opus/STT/TTS library. Backends are constructed lazily by factory
|
|
functions and are injectable, so the package is importable and testable on
|
|
a CPU-only host.
|
|
"""
|
|
from .config import Config
|
|
|
|
__all__ = ["Config"]
|