feat(backend): integrate document deletion and grounded speech providers
Enable replay-safe document deletion and public deployment model identifiers with the forward voice-model schema revision. Add GapGPT dialogue and ElevenLabs speech routing, strict extractive grounding, ten-source retrieval and regression coverage. Validation: 199 targeted provider-free tests passed. The full provider-free run stalled and was interrupted; PostgreSQL acceptance was not run because TEST_DATABASE_URL is unset.
This commit is contained in:
@@ -1748,6 +1748,8 @@ class VoiceRuntime:
|
||||
error = event["error"]
|
||||
if not isinstance(error, dict):
|
||||
raise ValueError("Provider error object required")
|
||||
from app.modules.voice.diagnostics import provider_error_summary
|
||||
provider_error_summary(self.session_id, error)
|
||||
matches = [r for r in self.responses.values()
|
||||
if r.cancel_deadline is not None and r.cancel_event == error.get("event_id")]
|
||||
cleanup = next((a for a in self.audio.values()
|
||||
|
||||
Reference in New Issue
Block a user