From c74fb8a0057d8ab3b41255a6be4e610b676282f7 Mon Sep 17 00:00:00 2001 From: sukrucildirr Date: Sat, 7 Jun 2025 23:47:22 +0300 Subject: [PATCH] Update planner_agent.py --- sources/agents/planner_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ""