Skip to content

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

log Agent version at startup

Nick Sweetingf40c25c57821
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index d71f8f211..c0f18a68c 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -227,7 +227,7 @@ class Agent(Generic[Context]):
self.settings.use_vision_for_planner = False
logger.info(
- f'🧠 Starting an agent with main_model={self.model_name}'
+ f'🧠 Starting a v{self.version} agent with main_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 ""}'