Leonydis137 commited on
Commit
ce7f926
·
verified ·
1 Parent(s): 7b81a9f

Update src/agents/executor.py

Browse files
Files changed (1) hide show
  1. src/agents/executor.py +10 -1
src/agents/executor.py CHANGED
@@ -1 +1,10 @@
1
- def execute_step(step): return f"Executed {step}"
 
 
 
 
 
 
 
 
 
 
1
+ from app import llm_model
2
+
3
+ def execute_step(step):
4
+ prompt = f"""You are an expert Python developer.
5
+ Generate Python code for this step:
6
+
7
+ Step: {step}
8
+
9
+ Output only code, no explanations."""
10
+ return llm_model(prompt)