From 81c0f4777526e2ae55e8e5b170bb0cdfbe9bcf21 Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 9 May 2025 09:34:41 +0800 Subject: [PATCH] set deafult browser security --- src/agent/deep_research/deep_research_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agent/deep_research/deep_research_agent.py b/src/agent/deep_research/deep_research_agent.py index 278d251..8f95eec 100644 --- a/src/agent/deep_research/deep_research_agent.py +++ b/src/agent/deep_research/deep_research_agent.py @@ -97,7 +97,7 @@ async def run_single_browser_task( bu_browser = CustomBrowser( config=BrowserConfig( headless=headless, - disable_security=disable_security, + disable_security=False, browser_binary_path=browser_binary_path, extra_browser_args=extra_args, wss_url=wss_url, @@ -553,7 +553,7 @@ async def research_execution_node(state: DeepResearchState) -> Dict[str, Any]: else: current_task_message = [ SystemMessage( - 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." + 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." ), HumanMessage( content=f"Research Task (Step {current_step['step']}): {current_step['task']}"