Code review feedback

This commit is contained in:
Mark Backman
2025-05-30 17:27:00 -04:00
parent b34c593c54
commit 7a4efc6212
7 changed files with 58 additions and 43 deletions

View File

@@ -9,10 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `interruption_config` to `PipelineParams` which uses an
`InterruptionConfig` to specify criteria required to interrupt the bot when
it's speaking. You can specify `min_words` to require the user to say at
least `min_words` words before their speech will interrupt the bot. If not
- Added `interruption_strategies` to `PipelineParams` using
`MinWordsInterruptionStrategy` to specify minimum words required to interrupt
the bot when it's speaking. Use
`interruption_strategies=[MinWordsInterruptionStrategy(min_words=N)]` to
require users to speak at least N words before interrupting. If not
specified, the normal interruption behavior applies.
- `BaseInputTransport` now handles `StopFrame`. When a `StopFrame` is received