MCPcopy Create free account
hub / github.com/livekit/agents / _collect_errors

Function _collect_errors

tests/test_interruption/test_interruption_failover.py:57–62  ·  view source on GitHub ↗
(
    detector: AdaptiveInterruptionDetector,
)

Source from the content-addressed store, hash-verified

55
56
57def _collect_errors(
58 detector: AdaptiveInterruptionDetector,
59) -> list[InterruptionDetectionError]:
60 errors: list[InterruptionDetectionError] = []
61 detector.on("error", lambda e: errors.append(e))
62 return errors
63
64
65async def _feed_audio_continuously(

Calls 1

onMethod · 0.45

Tested by

no test coverage detected