Merge pull request #4 from hetaoBackend/feat/search

feat: refine the hil text
This commit is contained in:
He Tao 2025-04-16 19:08:06 +08:00 committed by GitHub
commit f7acd5d6f3
2 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ def _execute_agent_step(
agent_input = {
"messages": [
HumanMessage(
content=f"#Task\n\n##title: {step.title}\n\n##description: {step.description}"
content=f"#Task\n\n##title\n\n{step.title}\n\n##description\n\n{step.description}"
)
]
}

View File

@ -86,8 +86,8 @@ async def _astream_workflow_generator(
"content": event_data["__interrupt__"][0].value,
"finish_reason": "interrupt",
"options": [
{"text": "Accept", "value": "accepted"},
{"text": "Edit", "value": "edit_plan"},
{"text": "Start research", "value": "accepted"},
{"text": "Edit plan", "value": "edit_plan"},
],
},
)