From 0e9852ec06149bff1d6b82ca329fed7fd8263ec5 Mon Sep 17 00:00:00 2001 From: mai1015 Date: Mon, 16 Feb 2026 12:14:04 -0500 Subject: [PATCH] feat: pass a cloned config to all_tools_with_runtime for improved tool initialization --- src/agent/agent.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agent/agent.rs b/src/agent/agent.rs index 45b4d54..05a9837 100644 --- a/src/agent/agent.rs +++ b/src/agent/agent.rs @@ -226,6 +226,7 @@ impl Agent { }; let tools = tools::all_tools_with_runtime( + Arc::new(config.clone()), &security, runtime, memory.clone(),