Skip to main content

prompt_with_handoff_instructions

Function
This function is defined in the handoff module.
Add handoff instructions to an agent’s prompt.

Signature

Parameters

str
required
The original prompt/instructions
Agent
required
The agent that will use handoffs

Returns

str
Updated prompt with handoff instructions

Uses

  • Handoff

Source

View on GitHub

praisonaiagents/agent/handoff.py at line 802

Handoffs Concept

Handoffs Feature