Skip to content

Soften realtime voice barge-in sensitivity#586

Merged
rogerchappel merged 1 commit into
mainfrom
codex/soften-mobile-realtime-barge-in
May 22, 2026
Merged

Soften realtime voice barge-in sensitivity#586
rogerchappel merged 1 commit into
mainfrom
codex/soften-mobile-realtime-barge-in

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • Make web realtime barge-in require slightly stronger, sustained speech before cancelling playback
  • Make mobile/Capacitor barge-in more conservative with stronger thresholds, more speech frames, and a longer output grace window
  • Add regression coverage so short mobile speech bursts do not interrupt agent output

Verification

  • pnpm test -- src/lib/realtime-voice-gateway-relay.test.ts
  • pnpm typecheck
  • git diff --check
  • push hook: pnpm typecheck
  • push hook: pnpm build (passes with existing Turbopack NFT-list warning)

Risk

Low. Scoped to realtime voice barge-in threshold constants and unit tests. The tradeoff is that intentional interruption now needs to be a bit more deliberate, especially on mobile.

@rogerchappel rogerchappel merged commit e62b4aa into main May 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant