Skip to content

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

Reduce string for todo.md

Magnus Müllerac9301b0d62a
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.py
index 95ce4a321..a03eefa59 100644
--- a/browser_use/agent/prompts.py
+++ b/browser_use/agent/prompts.py
@@ -284,7 +284,7 @@ Available tabs:
_todo_contents = self.file_system.get_todo_contents() if self.file_system else ''
if not len(_todo_contents):
- _todo_contents = '[Current todo.md is empty, fill it with your plan when applicable]'
+ _todo_contents = '[empty todo.md, fill it when applicable]'
agent_state = f"""
<user_request>