fix:修复play_music工具调用信息显示异常

This commit is contained in:
3030332422
2026-03-31 10:03:50 +08:00
parent f01de027cd
commit cc2e30205f
@@ -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":