pub async fn execute_tools_with_plugins(
thread: Thread,
result: &StreamResult,
tools: &HashMap<String, Arc<dyn Tool>>,
parallel: bool,
plugins: &[Arc<dyn AgentPlugin>],
) -> Result<Thread, AgentLoopError>Expand description
Execute tool calls with plugin hooks.