File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,13 @@ def create_agent():
51
51
raise ValueError (f"Tool ID '{ tool_id } ' is not registered." )
52
52
tools .append (REGISTED_TOOLS [tool_id ]())
53
53
54
- # tools = tools + sub_agent_tools
54
+ tools = tools + sub_agent_tools
55
55
56
56
agent = REGISTED_AGENTS ["planning_agent" ](
57
57
config = planning_agent_config ,
58
58
model = model_manager .registed_models [planning_agent_config .model_id ],
59
59
tools = tools ,
60
60
max_steps = planning_agent_config .max_steps ,
61
- managed_agents = sub_agents ,
62
61
description = planning_agent_config .description ,
63
62
name = planning_agent_config .name ,
64
63
provide_run_summary = True ,
Original file line number Diff line number Diff line change 3
3
4
4
# It's good practice to define a small, fixed list for default authorized_imports in tests
5
5
# unless a test specifically needs to modify it.
6
- TEST_DEFAULT_AUTHORIZED_IMPORTS = ["math" ] # Example, can be empty if preferred for stricter tests
6
+ TEST_DEFAULT_AUTHORIZED_IMPORTS = [
7
+ "math" ,
8
+ "subprocess" ,
9
+ "os" ,
10
+ "os.path" ,
11
+ ] # Example, can be empty if preferred for stricter tests
7
12
8
13
class TestPythonInterpreterSandbox (unittest .TestCase ):
9
14
You can’t perform that action at this time.
0 commit comments