Leonydis137 commited on
Commit
f848f14
·
verified ·
1 Parent(s): 8bbd177

Update agents/planner.py

Browse files
Files changed (1) hide show
  1. agents/planner.py +6 -14
agents/planner.py CHANGED
@@ -1,16 +1,8 @@
1
  def plan_task(goal, memory):
2
- plan = []
3
  if "website" in goal:
4
- plan.extend([
5
- "Create basic HTML structure",
6
- "Add styling with CSS",
7
- "Add interactivity with JavaScript",
8
- "Review and test website"
9
- ])
10
- else:
11
- plan.extend([
12
- f"Understand the goal: {goal}",
13
- "Find the best method to solve it",
14
- "Execute and gather result"
15
- ])
16
- return plan
 
1
  def plan_task(goal, memory):
 
2
  if "website" in goal:
3
+ return [
4
+ "Create HTML structure",
5
+ "Add CSS styling",
6
+ "Test with sample data"
7
+ ]
8
+ return [f"Perform goal: {goal}"]