Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
feat: make use of the `tool_calling_method` param on Agent constructor
Ivens Joris2d837379f8ab
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex e3bdcc0ef..94d9e6325 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -219,6 +219,8 @@ class Agent:return 'function_calling'else:return None+ else:+ return tool_calling_methoddef add_new_task(self, new_task: str) -> None:self.message_manager.add_new_task(new_task)