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:
11linear11
2026-10-12 17:57:27 -04:00
parent 9e6864ae2a
commit 111710c47c
33 changed files with 1189 additions and 55 deletions
+2
View File
@@ -6,6 +6,8 @@ from app.infrastructure.realtime import RealtimeAdapter, connect as connect_open
async def create_adapter(config, limits):
config.require_voice()
if config.provider == 'gemini' and limits.output_capacity_profile != 'standard':
raise ValueError('OpenAI output capacity cannot be used for Gemini')
input_settings = None
if config.provider == 'openai':
from app.modules.voice.configuration import OpenAIInputSettings