diff --git a/__pycache__/app.cpython-312.pyc b/__pycache__/app.cpython-312.pyc index f838188..1d0aa36 100644 Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ diff --git a/app.py b/app.py index 73636ca..be45b7a 100644 --- a/app.py +++ b/app.py @@ -82,13 +82,17 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str): ) # Добавляем remote debugging если включено + extra_args = [] if REMOTE_DEBUGGING_ENABLED: - browser_profile.extra_chromium_args = [ + extra_args = [ f"--remote-debugging-port={REMOTE_DEBUGGING_PORT}", "--remote-debugging-address=0.0.0.0" ] - browser = Browser(browser_profile=browser_profile) + browser = Browser( + browser_profile=browser_profile, + args=extra_args + ) # Создание агента agent = Agent(