From aecb7775e2f4e4a8b7963775fe7fe748b6c266a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A2=D1=83=D1=80?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Fri, 3 Apr 2026 17:56:53 +0300 Subject: [PATCH] browser tool edit --- hermes_code/tools/browser_use_tool.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hermes_code/tools/browser_use_tool.py b/hermes_code/tools/browser_use_tool.py index 1f1bb973..cb886cd0 100644 --- a/hermes_code/tools/browser_use_tool.py +++ b/hermes_code/tools/browser_use_tool.py @@ -18,6 +18,14 @@ async def run_browser_task(task): cdp_url = f"http://{browser_host}:{browser_port}" browser = Browser(cdp_url=cdp_url) + # browser = Browser( + # config=BrowserConfig( + # chrome_instance_path="/usr/bin/google-chrome", # путь к Chrome на ВМ + # # Для Windows: "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" + # # Для macOS: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" + # ) + # ) + # для хрома на вирутальной машине llm = ChatOpenAI( model=os.getenv("MODEL_DEFAULT", "qwen3.5-122b"),