mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
FunASR 返回 {"content","language","emotion"} 时,startToChat 只在含 speaker
字段时才解包,否则整段 JSON 字符串会作为用户消息交给 LLM 并写入对话历史。
现在没有 speaker 时只取 content。
|
||
|---|---|---|
| .. | ||
| textHandler | ||
| abortHandle.py | ||
| helloHandle.py | ||
| intentHandler.py | ||
| receiveAudioHandle.py | ||
| reportHandle.py | ||
| sendAudioHandle.py | ||
| textHandle.py | ||
| textMessageHandler.py | ||
| textMessageHandlerRegistry.py | ||
| textMessageProcessor.py | ||
| textMessageType.py | ||