Skip to main content

prompt_with_handoff_instructions

Function
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]) -> String

Parameters

base_prompt
&str
required
No description available.
available_agents
&
required
No description available.

Returns

Returns
String
The result of the operation.

Uses

  • join

Source

View on GitHub

praisonai/src/parity/workflow_aliases.rs at line 296