I'm trying to use the new GetEmailTask Task, but d...
# agents
w
I'm trying to use the new GetEmailTask Task, but despite calling it in my agent's on_enter method, I keep getting the following:
RuntimeError: GetEmailTask should only be awaited inside tool_functions or the on_enter/on_exit methods of an Agent
I'm not sure what's wrong here? I have some base agent classes and mixins which i'm thinking may be the issue?
g
this is a bug in the latest version of the agents sdk. this task can only be used inside a tool right now, despite what the error message says
w
Cool! Ty!