File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/backend/kernel_agents Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -180,13 +180,13 @@ async def handle_human_clarification(
180180
181181 Args:
182182 human_clarification: The HumanClarification object containing the session_id
183- and clarification_text provided by the human user
183+ and human_clarification provided by the human user
184184
185185 Returns:
186186 Status message indicating success or failure of adding the clarification
187187 """
188188 session_id = human_clarification .session_id
189- clarification_text = human_clarification .clarification_text
189+ clarification_text = human_clarification .human_clarification
190190
191191 # Get the plan associated with this session
192192 plan = await self ._memory_store .get_plan_by_session (session_id )
@@ -198,10 +198,10 @@ async def handle_human_clarification(
198198 await self ._memory_store .update_plan (plan )
199199 await self ._memory_store .add_item (
200200 AgentMessage (
201- session_id = human_clarification . session_id ,
201+ session_id = session_id ,
202202 user_id = self ._user_id ,
203203 plan_id = "" ,
204- content = f"{ human_clarification . human_clarification } " ,
204+ content = f"{ clarification_text } " ,
205205 source = AgentType .HUMAN .value ,
206206 step_id = "" ,
207207 )
You can’t perform that action at this time.
0 commit comments