fix(exec): pass allowed_env_keys to exec tool calls in subagents

This commit is contained in:
Mariano Campo
2026-04-17 16:32:25 +08:00
committed by Xubin Ren
parent 3ae4333cef
commit d0e65ebf70
2 changed files with 54 additions and 0 deletions
+1
View File
@@ -170,6 +170,7 @@ class SubagentManager:
restrict_to_workspace=self.restrict_to_workspace,
sandbox=self.exec_config.sandbox,
path_append=self.exec_config.path_append,
allowed_env_keys=self.exec_config.allowed_env_keys,
))
if self.web_config.enable:
tools.register(WebSearchTool(config=self.web_config.search, proxy=self.web_config.proxy))