Skip to main content

builtin_parallel

Function builtin_parallel 

Source
pub async fn builtin_parallel(
    args: &[DslValue],
    ctx: &ReasoningBuiltinContext,
) -> Result<DslValue>
Expand description

Execute the parallel builtin: run multiple agent calls concurrently.

Arguments:

  • tasks: list of maps, each with {agent: string, message: string}

Returns a list of results (strings or error maps).