[Bugfix][Full Duplex] Format runtime capability guard
Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
1 parent
b103e65efc
commit
776f57760c
1 file changed
+1
-4
@@ -970,10 +970,7 @@ class OmniDuplexSessionHandler(
|
|||||||
await send_json(
|
await send_json(
|
||||||
{
|
{
|
||||||
"type": "error",
|
"type": "error",
|
||||||
"error": (
|
"error": ("server_vad with interrupt_response=true requires a runtime that supports barge-in"),
|
||||||
"server_vad with interrupt_response=true requires a runtime "
|
|
||||||
"that supports barge-in"
|
|
||||||
),
|
|
||||||
"code": "unsupported_turn_detection",
|
"code": "unsupported_turn_detection",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user