famous-finland-27043
11/13/2025, 5:43 PMif __name__ == "__main__":
agents.cli.run_app(
agents.WorkerOptions(entrypoint_fnc=entrypoint, agent_name="interview-agent")
)
Here is what i tried:
• passing the agent dispatch config conditionally as part of the token -- agent was still joining the room.
• avoiding calling ctx.connect (I noticed thats when the agent joins) -- did not work.
My current fix:
• Mute the agent and hide its tile in the GridLayout component --not ideal for sure.
What is the best way to conditionally choose if the agent should join? Thanks :)refined-appointment-81829
11/13/2025, 5:57 PMfamous-finland-27043
11/13/2025, 6:50 PMfamous-finland-27043
11/13/2025, 6:52 PMrefined-appointment-81829
11/13/2025, 6:53 PM