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 8d54eae4d0
commit 369a4f0a89
+1 -1
View File
@@ -1064,7 +1064,7 @@ impl ToolCall {
function_name.clone(),
function_name,
vec![],
Default::default(),
agent.variable_envs(),
))
}
}