Hi all :wave: I'm searching for a way to prevent a...
# agents
e
Hi all 👋 I'm searching for a way to prevent an Agent from being interrupted at the beginning of an AgentSession when using a realtime model. For context: due to legal reasons we would like to ensure that the speaking agent does not get interrupted when starting the conversation after a (human) participant joins. At the conversation start, the agent must explain that the human is speaking to an AI and we therefore don't want to let any other participants interrupt the agent at this point. Only after having finished this explanation do we want to let users naturally interrupt and have the realtime model react. Is there a way to achieve this?
a
both generate reply and say messages have a parameter "_allow_interruptions"_ that let you control that
❤️ 1
e
Thanks! I no joke just got it working with that 2 seconds before your message but thanks I appreciate it nonetheless 🙏
🙌 1