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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user