handoff_to_async
AsyncMethod
This is a method of the Agent class in the agent module.Asynchronously hand off a task to another agent. This is the async version of handoff_to() with concurrency control and timeout support.
Signature
Parameters
Agent
required
The agent to hand off to
str
required
The task/prompt to pass to target agent
Optional
Optional additional context dictionary
Optional
Optional HandoffConfig for advanced settings
Returns
'HandoffResult'
HandoffResult with response or error
Usage
Uses
HandoffHandoffConfighandoff_obj.execute_async
Source
View on GitHub
praisonaiagents/agent/agent.py at line 2464
