fix:修复音乐播放工具TTS上报记录问题

This commit is contained in:
DaGou12138
2026-05-08 16:38:23 +08:00
parent 425cb1d6bd
commit eb571fae57
@@ -217,6 +217,7 @@ 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)
conn.tts.store_tts_text(conn.sentence_id, text)
# conn.dialogue.put(Message(role="assistant", content=text))
if conn.intent_type == "intent_llm":