mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
to_tts_stream / to_tts 旧逻辑只把 max_repeat_time-- 视为失败,循 环退出时 max_repeat_time > 0 误报成功。加 success 标志位,audio 非空、调完 audio_bytes_to_data_stream 才置 True,按 success 分 支报成功或重试 5 次未产出音频。 |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||