mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-19 04:15:57 +08:00
Merge pull request #4 from hetaoBackend/feat/search
feat: refine the hil text
This commit is contained in:
commit
f7acd5d6f3
@ -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}"
|
||||
)
|
||||
]
|
||||
}
|
||||
|
@ -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"},
|
||||
],
|
||||
},
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user