feat(voice): implement local S2S responsiveness candidate and direct TTS routing
Add local S2S responsiveness candidate pinning ASR options and sentence-at-a-time generation. Route speech synthesis directly to OpenAI API for fluent Persian phonetics with gpt-4o-mini-tts-2025-12-15. Add responsiveness, budget carry, and browser watch unit tests along with acceptance benchmarks and evaluation evidence.
This commit is contained in:
+6
-2
@@ -153,13 +153,17 @@ OPENAI_REALTIME_SPEED=1.30
|
||||
LOCAL_S2S_ENABLED=false
|
||||
# Phase 3 development opt-in; saved interrupted text is not treated as heard.
|
||||
LOCAL_S2S_RETAIN_INTERRUPTED_ANSWERS=false
|
||||
# Isolated responsiveness candidate; pins ASR options and sentence-at-a-time generation.
|
||||
LOCAL_S2S_RESPONSIVE=false
|
||||
# Provider synthesis speed; 1.0 preserves normal local speech.
|
||||
LOCAL_S2S_TTS_SPEED=1.0
|
||||
LOCAL_S2S_ENDPOINT=ws://local-s2s-engine:8765/v1/realtime
|
||||
LOCAL_S2S_ENGINE_REVISION=619e3fe4f71d1c6f35c15870d588a3638de34722
|
||||
LOCAL_S2S_STT_MODEL=openai/whisper-large-v3
|
||||
LOCAL_S2S_LLM_MODEL=openai/gpt-4.1-mini
|
||||
# Candidate only: actual voice/rate/Persian compatibility is not accepted yet.
|
||||
LOCAL_S2S_TTS_MODEL=google/gemini-3.8-flash-lite-tts
|
||||
LOCAL_S2S_TTS_VOICE=Kore
|
||||
LOCAL_S2S_TTS_MODEL=gpt-4o-mini-tts-2025-12-15
|
||||
LOCAL_S2S_TTS_VOICE=alloy
|
||||
LOCAL_S2S_MAX_OUTPUT_TOKENS=256
|
||||
LOCAL_S2S_REQUEST_TIMEOUT_SECONDS=30
|
||||
LOCAL_S2S_TOKEN=
|
||||
|
||||
Reference in New Issue
Block a user