Merge pull request #1074 from xinnan-tech/test-pr

增加server通用secret过滤器
This commit is contained in:
欣南科技
2025-04-30 15:11:09 +08:00
committed by GitHub
24 changed files with 347 additions and 200 deletions
@@ -53,6 +53,8 @@ async def handleTextMessage(conn, message):
# 如果是唤醒词,且关闭了唤醒词回复,就不用回答
await send_stt_message(conn, text)
await send_tts_message(conn, "stop", None)
elif is_wakeup_words:
await startToChat(conn, "嘿,你好呀")
else:
# 否则需要LLM对文字内容进行答复
await startToChat(conn, text)