Spaces:
Runtime error
Runtime error
Delete agents/planner.py
Browse files- agents/planner.py +0 -5
agents/planner.py
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
from app import llm_model
|
2 |
-
|
3 |
-
def plan_task(goal, memory=None):
|
4 |
-
prompt = f"Plan the steps to accomplish the following goal:\n{goal}"
|
5 |
-
return llm_model(prompt).split("\n") # simple split into steps
|
|
|
|
|
|
|
|
|
|
|
|