Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/backend/kernel_agents/human_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ async def handle_human_clarification(

Args:
human_clarification: The HumanClarification object containing the session_id
and clarification_text provided by the human user
and human_clarification provided by the human user

Returns:
Status message indicating success or failure of adding the clarification
"""
session_id = human_clarification.session_id
clarification_text = human_clarification.clarification_text
clarification_text = human_clarification.human_clarification

# Get the plan associated with this session
plan = await self._memory_store.get_plan_by_session(session_id)
Expand All @@ -198,10 +198,10 @@ async def handle_human_clarification(
await self._memory_store.update_plan(plan)
await self._memory_store.add_item(
AgentMessage(
session_id=human_clarification.session_id,
session_id=session_id,
user_id=self._user_id,
plan_id="",
content=f"{human_clarification.human_clarification}",
content=f"{clarification_text}",
source=AgentType.HUMAN.value,
step_id="",
)
Expand Down
Loading