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
Update logging message in Agent class to enhance clarity and detail
Magnus Müller4c75ecd25ee9
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 81a2a376f..f0d7b85d7 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -229,15 +229,16 @@ class Agent(Generic[Context]):self.settings.use_vision_for_planner = Falselogger.info(- f'🧠 Starting a v{self.version} agent with main_model={self.model_name}'+ f'🧠 Starting a browser-use agent with base_model={self.model_name}'f'{" +tools" if self.tool_calling_method == "function_calling" else ""}'f'{" +rawtools" if self.tool_calling_method == "raw" else ""}'f'{" +vision" if self.settings.use_vision else ""}'f'{" +memory" if self.enable_memory else ""}, '- f'planner_model={self.planner_model_name}'+ f'{" +planner_model={self.planner_model_name}" if self.planner_model_name else ""}'f'{" +reasoning" if self.settings.is_planner_reasoning else ""}'f'{" +vision" if self.settings.use_vision_for_planner else ""}, '- f'extraction_model={getattr(self.settings.page_extraction_llm, "model_name", None)} '+ f'extraction_model={getattr(self.settings.page_extraction_llm, "model_name", None)}, '+ f'" on version v{self.version}"')# Verify we can connect to the LLM