for google realtime model, allow_interruptions=Fal...
# ask-ai
s
for google realtime model, allow_interruptions=False, ias not working , how to handle it
t
Thanks for reaching out, Rahul. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
s
its comming here session = AgentSession( llm=google.realtime.RealtimeModel( model="gemini-2.5-flash-native-audio-preview-09-2025", _gemini_tools=[types.GoogleSearch()], ), vad=silero.VAD.load(), # Explicitly disable the turn detection to stop the SDK from loading a default turn_detection=None, allow_interruptions=False, ) ValueError: the RealtimeModel uses a server-side turn detection, allow_interruptions cannot be False, disable turn_detection in the RealtimeModel and use VAD on the AgentSession instead