xiaozhi-esp32-server/main/xiaozhi-server/core
Brad Shannon bc142abc8a fix(core): don't record a null tool reply to dialogue or TTS
When a tool result carries both response and result as None,
`text = result.response if result.response else result.result` is None.
That None was passed to tts_one_sentence/store_tts_text and written to the
dialogue as an assistant message; it also made `text in streamed_text` raise
TypeError when streamed_text was non-empty (None in str).

Guard the whole RESPONSE/NOTFOUND/ERROR branch on `if text:` so empty/None
tool replies are skipped entirely.
2026-06-18 11:01:05 -04:00
..
api add:测试页面增加拍照识物功能 2026-02-02 15:08:24 +08:00
handle fix: 通讯录页面时间不显示 2026-06-17 14:34:42 +08:00
providers perf: 2026-05-12 15:16:08 +08:00
utils 修复设备快速提示词缓存key错误 2026-04-28 15:52:23 +08:00
auth.py update: 2025-10-13 17:52:28 +08:00
connection.py fix(core): don't record a null tool reply to dialogue or TTS 2026-06-18 11:01:05 -04:00
http_server.py update:从vision_url配置里读取域名和端口号 2025-12-18 17:37:20 +08:00
websocket_server.py update:关于对digital-human的markdown文档的修改 2026-05-12 09:45:43 +08:00