Should the call be made in entrypoint function or ...
# ask-ai
w
Should the call be made in entrypoint function or should it be made outside of the entrypoint funciton, if we want the agent to make the call?
t
Thanks for reaching out, Arthur. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It's best to make the call inside the
entrypoint
function. This way, you can be sure the agent is all set up and connected to the room before starting the call. The
entrypoint
function takes care of getting the session ready and connecting to the room, which are important steps before you can make a call.