feat(voice): support evidence reuse, 120s output capacity, and input ASR coalescing
- Add internal reuse_last_evidence tool for continuing existing topic without repeated retrieval - Expand OpenAI output capacity to 120s / 5,760,000 bytes and add delivery fairness - Coalesce adjacent user ASR transcript deltas to prevent client control queue overflow - Add server-side OPENAI_REALTIME_SPEED configuration and update style to v4 - Add extensive unit and integration regressions for evidence reuse, capacity, and fairness
This commit is contained in:
@@ -121,6 +121,11 @@ 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
|
||||
# Temporary numeric audio/cancellation timeline at INFO; enable only during diagnosis.
|
||||
LIVE_DIAGNOSTIC_TRACE_ENABLED=0
|
||||
# Aggregate generated/undrained PCM defaults: OpenAI 5760000 bytes (120 s),
|
||||
# Gemini 1440000 bytes (30 s). Optional smaller override; transport credit stays 72000.
|
||||
# LIVE_MAX_OUTPUT_BACKLOG_BYTES=1440000
|
||||
# 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.
|
||||
@@ -133,3 +138,5 @@ INGEST_OCR_REVIEW_REQUIRED=true
|
||||
|
||||
# OpenAI per-response output budget, inclusive of tools (1..4096); not a PCM duration.
|
||||
OPENAI_REALTIME_MAX_OUTPUT_TOKENS=256
|
||||
# Provider-side speech speed (0.25..1.5); frozen for each new Live session.
|
||||
OPENAI_REALTIME_SPEED=1.0
|
||||
|
||||
Reference in New Issue
Block a user