mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
上一轮 TTS 被 barge-in 打断后,abortHandle 会把 conn.client_abort 置为 True;该 abort 迟到于新一轮 LLM 流建立时,新一轮回答会在首个分片处被误判为已打断而提前退出(只播第一句或无声,且无报错)。现在 chat() 在顶层轮次进入流式循环前清理一次残留标志;本轮流式期间新到达的 abort 仍即时生效,递归调用(depth>0)不清理。附带最小化回归测试。 |
||
|---|---|---|
| .. | ||
| config | ||
| core | ||
| models | ||
| music | ||
| performance_tester | ||
| plugins_func | ||
| tests | ||
| agent-base-prompt.txt | ||
| app.py | ||
| config.yaml | ||
| config_from_api.yaml | ||
| docker-compose.yml | ||
| docker-compose_all.yml | ||
| mcp_server_settings.json | ||
| performance_tester.py | ||
| pyproject.toml | ||
| requirements.txt | ||