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
Add back new lines
paul2048015089cceb65
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex e53050c65..4714b6799 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -1243,7 +1243,7 @@ class Agent(Generic[Context]):self.llm._verified_api_keys = Falsekeys_msg = f' Check that {", ".join(required_keys)} is set correctly in .env and has sufficient funding.' if required_keys else ''logger.error(- f'❌ LLM {self.llm.__class__.__name__} connection test failed.{keys_msg}\n\n{e}'+ f'\n\n❌ LLM {self.llm.__class__.__name__} connection test failed.{keys_msg}\n\n{e}\n')return False