Skip to content

Commit 3fc4c49

Browse files
committed
fix human agent type
1 parent c02e647 commit 3fc4c49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/app_kernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ async def human_feedback_endpoint(human_feedback: HumanFeedback, request: Reques
273273
logging.error(f"Error creating AIProjectClient: {client_exc}")
274274

275275
human_agent = await AgentFactory.create_agent(
276-
agent_type=AgentType.HUMAN.value,
276+
agent_type=AgentType.HUMAN,
277277
session_id=human_feedback.session_id,
278278
user_id=user_id,
279279
memory_store=memory_store,
@@ -379,7 +379,7 @@ async def human_clarification_endpoint(
379379
logging.error(f"Error creating AIProjectClient: {client_exc}")
380380

381381
human_agent = await AgentFactory.create_agent(
382-
agent_type=AgentType.HUMAN.value,
382+
agent_type=AgentType.HUMAN,
383383
session_id=human_clarification.session_id,
384384
user_id=user_id,
385385
memory_store=memory_store,

0 commit comments

Comments
 (0)