test_agent

Function test_agent 

Source
pub async fn test_agent(
    name: &str,
    args: Vec<(String, String)>,
    config: &Config,
) -> Result<()>
Expand description

Test an agent script by resolving its prompt.

Loads the script, executes agent.resolve() with the provided arguments, and prints the resulting system prompt, tools, and messages.