Skip to content

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

Refine agent initialization log message format

Magnus Müller748b5edce37d
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 679a2bea9..7baba8da6 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -238,7 +238,7 @@ class Agent(Generic[Context]):
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'" on version v{self.version}"'
+ f' on version v{self.version}'
)
# Verify we can connect to the LLM