[Bugfix][Full Duplex] Format runtime capability guard

Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
Sy03 committed 2026-08-25 01:45:41 +08:00
1 parent b103e65efc
commit 776f57760c
1 file changed
+1 -4
@@ -970,10 +970,7 @@ class OmniDuplexSessionHandler(
await send_json(
{
"type": "error",
"error": (
"server_vad with interrupt_response=true requires a runtime "
"that supports barge-in"
),
"error": ("server_vad with interrupt_response=true requires a runtime that supports barge-in"),
"code": "unsupported_turn_detection",
}
)