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

python
def prompt_with_handoff_instructions(base_prompt: &str, available_agents: &[&str]) -> String

Parameters

ParamField &str

No description available.

ParamField &[&str]

No description available.

Returns

ResponseField String

The result of the operation.

Uses

  • join

Source

View on GitHub

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


Related Documentation