Bug Description
Retry mechanisms in base classes cause data loss in STT and TTS plugins.
When a plugin's _run() method fails and is retried, the _input_ch channel has already been consumed by the first attempt.
Expected Behavior
Retry logic should reprocess the complete input data on subsequent attempts, not partial/empty data.
Reproduction Steps
1.
2.
3.
...
- Sample code snippet, or a GitHub Gist link -
Operating System
Linux (tested), likely affects all platforms
Models Used
No response
Package Versions
Session/Room/Call IDs
No response
Proposed Solution
Additional Context
No response
Screenshots and Recordings
No response
Bug Description
Retry mechanisms in base classes cause data loss in STT and TTS plugins.
When a plugin's
_run()method fails and is retried, the_input_chchannel has already been consumed by the first attempt.Expected Behavior
Retry logic should reprocess the complete input data on subsequent attempts, not partial/empty data.
Reproduction Steps
Operating System
Linux (tested), likely affects all platforms
Models Used
No response
Package Versions
Session/Room/Call IDs
No response
Proposed Solution
Additional Context
No response
Screenshots and Recordings
No response