Merge pull request #4125 from pipecat-ai/pk/gemini-live-endframe-deferral-issue

Gemini Live: fix EndFrame-deferral hang
This commit is contained in:
kompfner
2026-03-24 17:02:46 -04:00
committed by GitHub
2 changed files with 50 additions and 7 deletions

1
changelog/4125.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed Gemini Live pipeline hanging indefinitely when an `EndFrame` was deferred while waiting for the bot to finish responding and `turn_complete` never arrived. As a possible root-cause fix, `turn_complete` messages are now handled even if they lack `usage_metadata`. As a fallback, the deferred `EndFrame` now has a 30-second safety timeout.