From 803875015ea50312bc4dcec1ffe3ad9ae7ccfc25 Mon Sep 17 00:00:00 2001 From: Masahiro Nishimi Date: Sat, 19 Aug 2023 09:28:30 +0900 Subject: [PATCH] fix: Changed the value setting method for step.input and step.additional_input during step execution --- sdk/python/agent_protocol/agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/python/agent_protocol/agent.py b/sdk/python/agent_protocol/agent.py index 34307c6..5329d26 100644 --- a/sdk/python/agent_protocol/agent.py +++ b/sdk/python/agent_protocol/agent.py @@ -99,8 +99,8 @@ async def execute_agent_task_step( step.status = Status.running - step.input = body.input if body else None - step.additional_input = body.additional_input if body else None + step.input = body.input if body else step.input + step.additional_input = body.additional_input if body else step.additional_input step = await _step_handler(step)