Hi everyone , we are facing occurring issues with livekit when using
Realtime Pipeline with Gemini that we would like to get a feedback from to address these issues
@dry-elephant-14928
@refined-appointment-81829
@refined-toddler-89382
@gifted-family-53487
@jolly-air-155
Any feedback or help would be highly appreciated!
1.Message/Voice Interruptions & Context Handling
• How can we prevent message/voice input collisions from disrupting agent context, especially when overlapping with a "golden path" or ongoing agent speech?
• Has anyone else observed issues with VAD causing interruptions mid-response or context mix-ups when spammed with multiple inputs?
2.Simultaneous Event Handling
• What’s the recommended way to handle overlapping events (e.g., speaking during a function call or golden path execution) without the agent freezing or entering an indefinite "thinking" state?
3.Gemini Raw Output Bugs
• Has anyone found workarounds for Gemini emitting raw function or LLM responses directly in chat? (We’re tracking this GitHub issue, but curious if others have insight.)
Inactivity Issues with Silero & LiveKit
• What’s the best strategy to handle session dropouts or degraded VAD performance after short inactivity (1 min+)? Should we ping or refresh the pipeline periodically?
4.Implementing a faster RAG mechanism with latency benchmarks?
5.LiveKit & SDK-Specific Limitations
• Is there a known fix or roadmap for:
◦ Preventing chat truncation in realtime models?
◦ Avoiding null/empty RAG context from being passed to LLM (to reduce hallucinations)?
◦ Suppressing raw JSON responses like
{"tool_output":...}
and
{"answer":...}
?