prepare_handoff
Method
This is a method of the MultiAgentContextManager class in the manager module.Prepare context for handoff between agents.
Signature
Parameters
str
required
Source agent ID
str
required
Target agent ID
List
required
Current messages
Optional[ContextPolicy]
Override policy for this handoff
Returns
List[Dict[str, Any]]
Messages to pass to target agent
Uses
get_agent_policyestimate_messages_tokens
Source
View on GitHub
praisonaiagents/context/manager.py at line 993
