Leonydis137 commited on
Commit
1979e18
·
verified ·
1 Parent(s): 927e8b2

Create executor.py

Browse files
Files changed (1) hide show
  1. agents/executor.py +6 -0
agents/executor.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from tools.code_runner import run_python_code
2
+
3
+ def execute_step(step, memory):
4
+ if "implement" in step.lower():
5
+ return run_python_code(f"# Code attempt to {step}")
6
+ return f"Executed: {step} (simulated)"