Skip to content

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

Update browser_use/agent/message_manager/service.py

Mert Unsal39f7b0608c6b
diff --git a/browser_use/agent/message_manager/service.py b/browser_use/agent/message_manager/service.py
index 7f49a8ebc..16f4e0b4d 100644
--- a/browser_use/agent/message_manager/service.py
+++ b/browser_use/agent/message_manager/service.py
@@ -182,7 +182,7 @@ The file system actions do not change the browser state, so I can also click on
def add_new_task(self, new_task: str) -> None:
self.task = new_task
- self.state.agent_history_description += f'\n<system>User updated USER REQUEST to: {new_task}</system>\n'
+ self.state.agent_history_description += f'\n<s>User updated <user_request> to: {new_task}</s>\n'
def _update_agent_history_description(
self,