We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63d668d commit ad03aadCopy full SHA for ad03aad
1 file changed
src/pages/operator/tsx/voice/realtimeSession.ts
@@ -531,6 +531,14 @@ export async function connectOpenAIRealtimeVoice(
531
scheduleMicUnmute();
532
}
533
534
+ // ── Instant stop on speech start ─────────────────────────────────────────
535
+ // Stop any ongoing motion the moment the VAD detects speech, before
536
+ // transcription or model inference. The next tool call will restart motion
537
+ // if the command is anything other than "stop".
538
+ if (eventType === "input_audio_buffer.speech_started") {
539
+ executeStopMotionOnProvider(opts.voiceProvider);
540
+ }
541
+
542
if (
543
eventType.includes("input_audio_transcription") &&
544
eventType.includes("completed")
0 commit comments