Add better error handling for OpenAIRealtimeBetaLLMService truncate errors

This commit is contained in:
Mark Backman
2025-01-23 14:23:11 -05:00
parent d4e4b12109
commit 53251dcb88
2 changed files with 16 additions and 1 deletions

View File

@@ -14,6 +14,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