Skip to main content

execute_tools_with_behaviors

Function execute_tools_with_behaviors 

Source
pub async fn execute_tools_with_behaviors(
    thread: Thread,
    result: &StreamResult,
    tools: &HashMap<String, Arc<dyn Tool>>,
    parallel: bool,
    behavior: Arc<dyn AgentBehavior>,
) -> Result<ExecuteToolsOutcome, AgentLoopError>
Expand description

Execute tool calls with behavior hooks.