fix: Inject agent variables into environment variables for global tool calls when invoked from agents to modify global tool behavior

This commit is contained in:
Dark-Alex-17 committed 2026-02-20 11:38:24 -07:00
1 parent 59cca849a8
commit 306a880257
1 file changed
+1 -1
+1 -1
View File
@@ -1064,7 +1064,7 @@ impl ToolCall {
function_name.clone(),
function_name,
vec![],
Default::default(),
agent.variable_envs(),
))
}
}