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
Fix task update in MessageManager to correctly use new user request format
Magnus Müllerb07452108466
diff --git a/browser_use/agent/message_manager/service.py b/browser_use/agent/message_manager/service.pyindex bdb00e051..77c6a1392 100644--- a/browser_use/agent/message_manager/service.py+++ b/browser_use/agent/message_manager/service.py@@ -165,7 +165,7 @@ class MessageManager:def add_new_task(self, new_task: str) -> None:new_task = '<new_user_request> ' + new_task.strip() + ' </new_user_request>'self.task += '\n' + new_task- task_update_item = HistoryItem(system_message=self.task)+ task_update_item = HistoryItem(system_message=new_task)self.state.agent_history_items.append(task_update_item)def _update_agent_history_description(