fix(voice): expand speech buffer to 60s, handle 2.1 cancellation race, and bound cleanup

- Expand max_input_buffer_bytes to 3,072,000 (64s at 24kHz PCM16) with 65s fixed deadline
- Broaden response_cancel_not_active race classifier to include gpt-realtime-2.1/shimmer
- Add transport abort method and bound cleanup waits during websocket close
- Record repair progress in docs/plans/live-conversation-repair-progress.md
This commit is contained in:
amirhosein mazaheri
2026-10-12 18:51:06 +03:30
parent d493752b81
commit 9e6864ae2a
14 changed files with 203 additions and 19 deletions
+3
View File
@@ -118,6 +118,9 @@ TRUSTED_HOSTS=["localhost:8000","127.0.0.1:8000"]
COOKIE_SECURE=false
AUTH_SESSION_SECONDS=28800
LIVE_SESSION_SECONDS=600
# 60 seconds of speech plus up to 4 seconds of VAD padding; independent 65-second stop deadline.
LIVE_MAX_INPUT_BUFFER_BYTES=3072000
LIVE_SPEECH_STOP_TIMEOUT_SECONDS=65
# Path to a measured, profile-compatible calibrated report; never a status placeholder.
# SEARCH_CALIBRATION_REPORT=/absolute/path/measured-report.json
# Explicit connectivity testing only; no uncalibrated document evidence is admitted.