mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
fix:修复play_music工具调用信息显示异常
This commit is contained in:
parent
f01de027cd
commit
cc2e30205f
1 changed files with 0 additions and 1 deletions
|
|
@ -217,7 +217,6 @@ async def play_local_music(conn: "ConnectionHandler", specific_file=None):
|
|||
conn.logger.bind(tag=TAG).error(f"选定的音乐文件不存在: {music_path}")
|
||||
return
|
||||
text = _get_random_play_prompt(selected_music)
|
||||
await send_stt_message(conn, text)
|
||||
conn.dialogue.put(Message(role="assistant", content=text))
|
||||
|
||||
if conn.intent_type == "intent_llm":
|
||||
|
|
|
|||
Loading…
Reference in a new issue