From 5cc0e61297d9881244a2fa326df6b03f0f991add Mon Sep 17 00:00:00 2001 From: DanielWalnut <45447813+hetaoBackend@users.noreply.github.com> Date: Wed, 14 May 2025 03:54:14 -0700 Subject: [PATCH] refactor: refine the step execute human message (#144) --- src/graph/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/nodes.py b/src/graph/nodes.py index 14616f9..fedfd3b 100644 --- a/src/graph/nodes.py +++ b/src/graph/nodes.py @@ -335,7 +335,7 @@ async def _execute_agent_step( agent_input = { "messages": [ HumanMessage( - content=f"{completed_steps_info}# Current Task\n\n## title\n\n{current_step.title}\n\n## description\n\n{current_step.description}\n\n## locale\n\n{state.get('locale', 'en-US')}" + content=f"{completed_steps_info}# Current Task\n\n## Title\n\n{current_step.title}\n\n## Description\n\n{current_step.description}\n\n## Locale\n\n{state.get('locale', 'en-US')}" ) ] }