mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
旧 finish_session 不发 _pending_prefix 残留,句尾替换词被扣时整段丢;monitor / to_tts 收 SessionFinished 不调 is_end=True 冲刷 opus 编码器,每句固定丢尾。改成 finish_session 开头先发残留,monitor / to_tts 调 is_end=True 冲刷,FIRST 同步重置。 |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||