feat(voice): implement local S2S retained history and provider selection
Add pinned CPU engine dependencies, retained interrupted-response history, provider admission, offline evaluation and isolated browser tooling. Record Phase 2 acceptance and Phase 3/4 preparation, bounded paid-test accounting and interruption incident findings. Human interruption acceptance, paired OpenAI evaluation and rollback remain pending.
This commit is contained in:
@@ -83,6 +83,8 @@ INGEST_EMBEDDING_MAX_RESPONSE_BYTES=16777216
|
||||
# Backend voice selection; Gemini is the temporary default. No automatic fallback.
|
||||
# Legacy PROVIDER is accepted; do not set it differently from VOICE_PROVIDER.
|
||||
VOICE_PROVIDER=gemini
|
||||
# Additional per-session UI choices; empty preserves default-provider-only admission.
|
||||
VOICE_SELECTABLE_PROVIDERS=[]
|
||||
GEMINI_API_KEY=
|
||||
GEMINI_MODEL=gemini-2.0-flash-exp
|
||||
GEMINI_VOICE=Aoede
|
||||
@@ -149,6 +151,8 @@ OPENAI_REALTIME_SPEED=1.30
|
||||
# Local S2S Phase 2 candidate (off by default; isolated development only).
|
||||
# See services/local_s2s/README.md. Do not change the operational VOICE_PROVIDER.
|
||||
LOCAL_S2S_ENABLED=false
|
||||
# Phase 3 development opt-in; saved interrupted text is not treated as heard.
|
||||
LOCAL_S2S_RETAIN_INTERRUPTED_ANSWERS=false
|
||||
LOCAL_S2S_ENDPOINT=ws://local-s2s-engine:8765/v1/realtime
|
||||
LOCAL_S2S_ENGINE_REVISION=619e3fe4f71d1c6f35c15870d588a3638de34722
|
||||
LOCAL_S2S_STT_MODEL=openai/whisper-large-v3
|
||||
|
||||
Reference in New Issue
Block a user