fix: 优化流控音频播放 wechat聊天模式错误STT消息发送

This commit is contained in:
Sakura-RanChen
2025-08-22 17:10:36 +08:00
parent 60f8dbf418
commit 1988bced60
8 changed files with 67 additions and 287 deletions
@@ -212,7 +212,6 @@ async def play_local_music(conn, 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":