feat: pass a cloned config to all_tools_with_runtime for improved tool initialization
This commit is contained in:
parent
3dc44ae132
commit
0e9852ec06
1 changed files with 1 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ impl Agent {
|
|||
};
|
||||
|
||||
let tools = tools::all_tools_with_runtime(
|
||||
Arc::new(config.clone()),
|
||||
&security,
|
||||
runtime,
|
||||
memory.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue