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
Remove lmnr init in random examples
Magnus Müller80516388353c
diff --git a/examples/features/custom_system_prompt.py b/examples/features/custom_system_prompt.pyindex f9475ae62..655f73713 100644--- a/examples/features/custom_system_prompt.py+++ b/examples/features/custom_system_prompt.py@@ -9,13 +9,6 @@ from dotenv import load_dotenvload_dotenv()-try:- from lmnr import Laminar-- Laminar.initialize(project_api_key=os.getenv('LMNR_PROJECT_API_KEY'))-except Exception as e:- print(f'Error initializing Laminar: {e}')-from browser_use import Agent, ChatOpenAIdiff --git a/examples/features/sensitive_data.py b/examples/features/sensitive_data.pyindex 76184a457..22fee98e5 100644--- a/examples/features/sensitive_data.py+++ b/examples/features/sensitive_data.py@@ -12,13 +12,6 @@ from browser_use import Agentfrom browser_use.browser import BrowserProfilefrom browser_use.llm import ChatOpenAI-try:- from lmnr import Laminar-- Laminar.initialize(project_api_key=os.getenv('LMNR_PROJECT_API_KEY'))-except Exception as e:- print(f'Error initializing Laminar: {e}')-# Initialize the modelllm = ChatOpenAI(model='gpt-4.1',diff --git a/examples/file_system/alphabet_earnings.py b/examples/file_system/alphabet_earnings.pyindex 7a8bd6fba..c7bb85c1a 100644--- a/examples/file_system/alphabet_earnings.py+++ b/examples/file_system/alphabet_earnings.py@@ -16,12 +16,6 @@ SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))agent_dir = SCRIPT_DIR / 'alphabet_earnings'agent_dir.mkdir(exist_ok=True)-try:- from lmnr import Laminar-- Laminar.initialize(project_api_key=os.getenv('LMNR_PROJECT_API_KEY'))-except Exception as e:- print(f'Error initializing Laminar: {e}')llm = ChatOpenAI(model='o4-mini',diff --git a/examples/file_system/file_system.py b/examples/file_system/file_system.pyindex 589a3df9d..4ea48b880 100644--- a/examples/file_system/file_system.py+++ b/examples/file_system/file_system.py@@ -16,12 +16,6 @@ agent_dir.mkdir(exist_ok=True)conversation_dir = agent_dir / 'conversations' / 'conversation'print(f'Agent logs directory: {agent_dir}')-try:- from lmnr import Laminar-- Laminar.initialize(project_api_key=os.getenv('LMNR_PROJECT_API_KEY'))-except Exception as e:- print(f'Error initializing Laminar: {e}')task = """Go to https://mertunsall.github.io/posts/post1.html