diff --git a/main/xiaozhi-server/config/assets/wakeup_words.wav b/main/xiaozhi-server/config/assets/wakeup_words.wav index 53e58b04..e5422555 100644 Binary files a/main/xiaozhi-server/config/assets/wakeup_words.wav and b/main/xiaozhi-server/config/assets/wakeup_words.wav differ diff --git a/main/xiaozhi-server/core/handle/helloHandle.py b/main/xiaozhi-server/core/handle/helloHandle.py index 9eed6a0a..cc968862 100644 --- a/main/xiaozhi-server/core/handle/helloHandle.py +++ b/main/xiaozhi-server/core/handle/helloHandle.py @@ -58,7 +58,7 @@ def getWakeupWordFile(file_name): async def wakeupWordsResponse(conn): """唤醒词响应""" wakeup_word = random.choice(WAKEUP_CONFIG["words"]) - result = conn.llm.response_no_stream(conn.prompt, wakeup_word) + result = conn.llm.response_no_stream(conn.config["prompt"], wakeup_word) tts_file = await asyncio.to_thread(conn.tts.to_tts, result) if tts_file is not None and os.path.exists(tts_file): file_type = os.path.splitext(tts_file)[1]