Add support for prefix state code
This commit is contained in:
@@ -119,6 +119,7 @@ ws://<host>:<port>/ws-product
|
||||
|----------|------|
|
||||
| `input.transcript.interim` | 用户语音中间转写(流式 ASR 时) |
|
||||
| `input.transcript.final` | 用户语音最终转写 |
|
||||
| `response.state` | 可选;当 `agent.response_state.enabled` 开启且 LLM 回复以 `<state>...</state>` 开头时发送 |
|
||||
| `response.text.started` | 助手开始回复 |
|
||||
| `response.text.delta` | 助手文本流式片段(通常早于 TTS 音频) |
|
||||
| `response.text.final` | 助手本轮回复结束,见下方 `interrupted` 说明 |
|
||||
|
||||
Reference in New Issue
Block a user