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
Don't log summaries
kalil0321ebc74b75ca52
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 1ff8e059c..bd3e7fd12 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -914,8 +914,6 @@ class Agent(Generic[Context, AgentStructuredOutput]):# Log step completion summarysummary_message = self._log_step_completion_summary(self.step_start_time, self.state.last_result)- if summary_message:- await self._demo_mode_log(summary_message, 'info', {'step': self.state.n_steps})# Save file system state after step completionself.save_file_system_state()@@ -1749,11 +1747,6 @@ class Agent(Generic[Context, AgentStructuredOutput]):if on_step_start is not None:await on_step_start(self)- await self._demo_mode_log(- f'Starting step {step + 1}/{max_steps}',- 'info',- {'step': step + 1, 'total_steps': max_steps},- )self.logger.debug(f'🚶 Starting step {step + 1}/{max_steps}...')diff --git a/browser_use/code_use/service.py b/browser_use/code_use/service.pyindex 92e3d4a17..d7673f085 100644--- a/browser_use/code_use/service.py+++ b/browser_use/code_use/service.py@@ -294,7 +294,6 @@ class CodeAgent:# Main execution loopfor step in range(self.max_steps):logger.info(f'\n\n\n\n\n\n\nStep {step + 1}/{self.max_steps}')- await self._demo_mode_log(f'Starting step {step + 1}/{self.max_steps}', 'info', {'step': step + 1})# Start timing this stepself._step_start_time = datetime.datetime.now().timestamp()