Skip to main content

run_workflow

Function run_workflow 

Source
pub fn run_workflow(
    workflow_path: &str,
    user_prompt: Option<&str>,
) -> Result<(), ZigError>
Expand description

Execute a .zug workflow file.

Parses the workflow, validates it, resolves the step DAG, and executes each step by delegating to zag. The optional user_prompt is injected as additional context into every step’s prompt.