Skip to main content

execute_tools_parallel

Function execute_tools_parallel 

Source
pub async fn execute_tools_parallel(
    tools: &HashMap<String, Arc<dyn Tool>>,
    calls: &[ToolCall],
    state: &Value,
) -> Vec<ToolExecution>
Expand description

Execute tool calls in parallel using the same state snapshot for every call.