From fd4e419e4a435cf5731704b7b0919a1a6ccf8c36 Mon Sep 17 00:00:00 2001 From: amirhosein mazaheri Date: Tue, 13 Oct 2026 14:20:06 +0330 Subject: [PATCH] chore(config): persist current live stream tuning in env example Document speech speed 1.30, output budget 2048, event replay capacity 32768 and enabled numeric traces. Preserve provider-specific audio capacity defaults. Local deployment now reads the same settings from .env without a temporary Compose override. --- .env.example | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index ac2a8a1..452d935 100644 --- a/.env.example +++ b/.env.example @@ -121,11 +121,13 @@ 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 +# Current repair profile: numeric audio/cancellation traces enabled; set 0 to disable. +LIVE_DIAGNOSTIC_TRACE_ENABLED=1 +# Session replay capacity includes audio and transcript deltas. +LIVE_MAX_EVENTS=32768 # 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 +# LIVE_MAX_OUTPUT_BACKLOG_BYTES=5760000 # OpenAI only; omit for provider-specific defaults. # 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. @@ -140,6 +142,6 @@ INGEST_ALLOW_PARTIAL_EXTRACTION=false 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 +OPENAI_REALTIME_MAX_OUTPUT_TOKENS=2048 # Provider-side speech speed (0.25..1.5); frozen for each new Live session. -OPENAI_REALTIME_SPEED=1.0 +OPENAI_REALTIME_SPEED=1.30