My Team has two agents, A and B, where Agent B calls a tool that requires user confirmation.
After the user clicks the confirmation, how can I ensure that Agent B and the Team continue to function properly?
code snippet:
async for event in team.arun:
# …
elif event.is_paused:
for tool in event.tools_requiring_confirmation:
# confirm ....
agent_B.continue_run # how to work??