Prompt With Handoff Instructions • Rust AI Agent SDK
prompt_with_handoff_instructions: Generate a prompt with handoff instructions Creates a system prompt that includes instructions for handing off to other agents when appropriate. #…
prompt_with_handoff_instructions
Function
</div>
This function is defined in the workflow_aliases module.
Generate a prompt with handoff instructions Creates a system prompt that includes instructions for handing off to other agents when appropriate. # Arguments base_prompt – The base system prompt available_agents – List of agents that can be handed off to
Signature
def prompt_with_handoff_instructions(base_prompt: &str, available_agents: &[&str]) -> StringParameters
ParamField
&strNo description available.
ParamField
&[&str]No description available.
Returns
ResponseField
StringThe result of the operation.
Uses
join
Source
View on GitHubpraisonai/src/parity/workflow_aliases.rs at line 296