diff --git a/sources/agents/planner_agent.py b/sources/agents/planner_agent.py index a588604..c324da7 100644 --- a/sources/agents/planner_agent.py +++ b/sources/agents/planner_agent.py @@ -200,7 +200,7 @@ class PlannerAgent(Agent): {last_agent_work} Agent {id} work was a {tool_success_str} according to system interpreter. {next_task} - Is the work done for task {id} leading to sucess or failure ? Did an agent fail with a task? + Is the work done for task {id} leading to success or failure ? Did an agent fail with a task? If agent work was good: answer "NO_UPDATE" If agent work is leading to failure: update the plan. If a task failed add a task to try again or recover from failure. You might have near identical task twice. @@ -288,4 +288,4 @@ class PlannerAgent(Agent): steps = len(agents_tasks) i += 1 - return answer, "" \ No newline at end of file + return answer, ""