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:
2026-02-20 11:38:24 -07:00
parent 25d6370b20
commit 60493728a0
+1 -1
View File
@@ -1064,7 +1064,7 @@ impl ToolCall {
function_name.clone(), function_name.clone(),
function_name, function_name,
vec![], vec![],
Default::default(), agent.variable_envs(),
)) ))
} }
} }