Merge pull request #1078 from pipecat-ai/mb/improve-error-handling-truncate-audio

Add better error handling for OpenAIRealtimeBetaLLMService truncate errors
This commit is contained in:
Mark Backman
2025-01-27 08:54:39 -05:00
committed by GitHub
2 changed files with 16 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Add defensive error handling for `OpenAIRealtimeBetaLLMService`'s audio
truncation. Audio truncation errors during interruptions now log a warning
and allow the session to continue instead of throwing an exception.
- Modified `TranscriptProcessor` to use TTS text frames for more accurate assistant
transcripts. Assistant messages are now aggregated based on bot speaking boundaries
rather than LLM context, providing better handling of interruptions and partial