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.
9 lines
297 B
Python
9 lines
297 B
Python
"""Xiaozhi protocol + session layer.
|
|
|
|
The only module that knows Xiaozhi wire format. Everything else talks to a
|
|
session object, never to raw frames.
|
|
"""
|
|
from .protocol import Hello, HelloReply, build_hello, build_hello_reply
|
|
|
|
__all__ = ["Hello", "HelloReply", "build_hello", "build_hello_reply"]
|