Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

format

mertunsallc39093ab6122
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index e67cb5fbd..6778e5f9f 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -599,8 +599,6 @@ class Agent(Generic[Context, AgentStructuredOutput]):
logger.error('💾 File system is not set up. Cannot save state.')
raise ValueError('File system is not set up. Cannot save state.')
-
-
def _set_browser_use_version_and_source(self, source_override: str | None = None) -> None:
"""Get the version from pyproject.toml and determine the source of the browser-use package"""
# Use the helper function for version detection