feat: pass a cloned config to all_tools_with_runtime for improved tool initialization

This commit is contained in:
mai1015 2026-02-16 12:14:04 -05:00 committed by Chummy
parent 3dc44ae132
commit 0e9852ec06

View file

@ -226,6 +226,7 @@ impl Agent {
}; };
let tools = tools::all_tools_with_runtime( let tools = tools::all_tools_with_runtime(
Arc::new(config.clone()),
&security, &security,
runtime, runtime,
memory.clone(), memory.clone(),