Skip to content

Commit 8bfaeb5

Browse files
committed
update readme
1 parent bb47165 commit 8bfaeb5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/agent/agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ def create_agent():
5151
raise ValueError(f"Tool ID '{tool_id}' is not registered.")
5252
tools.append(REGISTED_TOOLS[tool_id]())
5353

54-
#tools = tools + sub_agent_tools
54+
tools = tools + sub_agent_tools
5555

5656
agent = REGISTED_AGENTS["planning_agent"](
5757
config=planning_agent_config,
5858
model=model_manager.registed_models[planning_agent_config.model_id],
5959
tools=tools,
6060
max_steps=planning_agent_config.max_steps,
61-
managed_agents=sub_agents,
6261
description=planning_agent_config.description,
6362
name=planning_agent_config.name,
6463
provide_run_summary=True,

tests/test_local_python_executor.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

44
# It's good practice to define a small, fixed list for default authorized_imports in tests
55
# 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
712

813
class TestPythonInterpreterSandbox(unittest.TestCase):
914

0 commit comments

Comments
 (0)