(
detector: AdaptiveInterruptionDetector,
)
| 55 | |
| 56 | |
| 57 | def _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 | |
| 65 | async def _feed_audio_continuously( |
no test coverage detected