refactor: refine the step execute human message (#144)

This commit is contained in:
DanielWalnut 2025-05-14 03:54:14 -07:00 committed by GitHub
parent a220f4b6ea
commit 5cc0e61297
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')}"
)
]
}