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。
|
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||