From a47445d034a80c10abc588d37052153df575cf37 Mon Sep 17 00:00:00 2001 From: Dhruvkumar-Microsoft Date: Fri, 29 Aug 2025 13:03:52 +0530 Subject: [PATCH 1/2] reverted the original prompt of planner agent --- src/backend/kernel_agents/planner_agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/kernel_agents/planner_agent.py b/src/backend/kernel_agents/planner_agent.py index 6553ea3d0..045824180 100644 --- a/src/backend/kernel_agents/planner_agent.py +++ b/src/backend/kernel_agents/planner_agent.py @@ -568,7 +568,8 @@ def _get_template(): These agents have access to the following functions: {{$tools_str}} - + The first step of your plan should be to ask the user for any additional information required to progress the rest of steps planned. + Only use the functions provided as part of your plan. If the task is not possible with the agents and tools provided, create a step with the agent of type Human and mark the overall status as completed. Do not add superfluous steps - only take the most direct path to the solution, with the minimum number of steps. Only do the minimum necessary to complete the goal. From 93c45001e1b2525cd987cc9d4effcb7e9dcd5b9e Mon Sep 17 00:00:00 2001 From: Dhruvkumar-Microsoft Date: Fri, 29 Aug 2025 13:09:29 +0530 Subject: [PATCH 2/2] removed the spaces --- src/backend/kernel_agents/planner_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/kernel_agents/planner_agent.py b/src/backend/kernel_agents/planner_agent.py index 045824180..16f63129f 100644 --- a/src/backend/kernel_agents/planner_agent.py +++ b/src/backend/kernel_agents/planner_agent.py @@ -569,7 +569,7 @@ def _get_template(): {{$tools_str}} The first step of your plan should be to ask the user for any additional information required to progress the rest of steps planned. - + Only use the functions provided as part of your plan. If the task is not possible with the agents and tools provided, create a step with the agent of type Human and mark the overall status as completed. Do not add superfluous steps - only take the most direct path to the solution, with the minimum number of steps. Only do the minimum necessary to complete the goal.