Merge pull request #4355 from pipecat-ai/pk/gemini-live-context-reseed-on-reconnect

Re-seed Gemini Live context on reconnect without session resumption
This commit is contained in:
kompfner
2026-04-23 11:00:22 -04:00
committed by GitHub
2 changed files with 86 additions and 16 deletions

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

@@ -0,0 +1 @@
Fixed Gemini Live losing conversation history in the (rare) case of a WebSocket reconnect before any session resumption handle is received. When the session reconnects (e.g. on system instruction change), conversation history is now re-seeded into the new session before it is marked ready for input.