Skip to content

Commit 81c0f47

Browse files
committed
set deafult browser security
1 parent eb91cb6 commit 81c0f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agent/deep_research/deep_research_agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def run_single_browser_task(
9797
bu_browser = CustomBrowser(
9898
config=BrowserConfig(
9999
headless=headless,
100-
disable_security=disable_security,
100+
disable_security=False,
101101
browser_binary_path=browser_binary_path,
102102
extra_browser_args=extra_args,
103103
wss_url=wss_url,
@@ -553,7 +553,7 @@ async def research_execution_node(state: DeepResearchState) -> Dict[str, Any]:
553553
else:
554554
current_task_message = [
555555
SystemMessage(
556-
content="You are a research assistant executing one step of a research plan. Use the available tools, especially the 'parallel_browser_search' tool, to gather information needed for the current task. Be precise with your search queries if using the browser tool. Please output at least one tool."
556+
content="You are a research assistant executing one step of a research plan. Use the available tools, especially the 'parallel_browser_search' tool, to gather information needed for the current task. Be precise with your search queries if using the browser tool."
557557
),
558558
HumanMessage(
559559
content=f"Research Task (Step {current_step['step']}): {current_step['task']}"

0 commit comments

Comments
 (0)