mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-27 09:33:55 +08:00
Merge branch 'main' into tts-response
This commit is contained in:
@@ -145,3 +145,5 @@ async def process_intent_result(conn, intent_result, original_text):
|
||||
|
||||
def speak_txt(conn, text):
|
||||
conn.tts.tts_one_sentence(conn, ContentType.TEXT, content_detail=text)
|
||||
conn.dialogue.put(Message(role="assistant", content=text))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user