Files
houhuan c7b8b01fe2 Add WeWork XiaoAi TTS bot - WeChat Work long connection bridge
Receives messages from WeChat Work bot via WebSocket long connection
and speaks them through XiaoAi smart speaker TTS.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 13:52:04 +08:00

12 lines
264 B
Python

import asyncio
import logging
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
)
if __name__ == "__main__":
from app.services.ws_client import connect_and_serve
asyncio.run(connect_and_serve())