33import uuid
44from typing import Any , Dict , List , Optional , Tuple
55
6- from azure .ai .projects .models import (ResponseFormatJsonSchema ,
7- ResponseFormatJsonSchemaType )
6+ from azure .ai .projects .models import (
7+ ResponseFormatJsonSchema ,
8+ ResponseFormatJsonSchemaType ,
9+ )
810from context .cosmos_memory_kernel import CosmosMemoryContext
911from event_utils import track_event_if_configured
1012from kernel_agents .agent_base import BaseAgent
1416from kernel_tools .procurement_tools import ProcurementTools
1517from kernel_tools .product_tools import ProductTools
1618from kernel_tools .tech_support_tools import TechSupportTools
17- from models .messages_kernel import (AgentMessage , AgentType ,
18- HumanFeedbackStatus , InputTask , Plan ,
19- PlannerResponsePlan , PlanStatus , Step ,
20- StepStatus )
19+ from models .messages_kernel import (
20+ AgentMessage ,
21+ AgentType ,
22+ HumanFeedbackStatus ,
23+ InputTask ,
24+ Plan ,
25+ PlannerResponsePlan ,
26+ PlanStatus ,
27+ Step ,
28+ StepStatus ,
29+ )
2130from semantic_kernel .functions import KernelFunction
2231from semantic_kernel .functions .kernel_arguments import KernelArguments
2332
@@ -188,7 +197,7 @@ async def handle_input_task(self, input_task: InputTask) -> str:
188197 session_id = input_task .session_id ,
189198 user_id = self ._user_id ,
190199 plan_id = plan .id ,
191- content = f"Generated a plan with { len (steps )} steps. Click the blue check box beside each step to complete it, click the x to remove this step." ,
200+ content = f"Generated a plan with { len (steps )} steps. Click the check box beside each step to complete it, click the x to reject this step." ,
192201 source = AgentType .PLANNER .value ,
193202 step_id = "" ,
194203 )
@@ -200,7 +209,7 @@ async def handle_input_task(self, input_task: InputTask) -> str:
200209 "session_id" : input_task .session_id ,
201210 "user_id" : self ._user_id ,
202211 "plan_id" : plan .id ,
203- "content" : f"Generated a plan with { len (steps )} steps. Click the blue check box beside each step to complete it, click the x to remove this step." ,
212+ "content" : f"Generated a plan with { len (steps )} steps. Click the check box beside each step to complete it, click the x to reject this step." ,
204213 "source" : AgentType .PLANNER .value ,
205214 },
206215 )
0 commit comments