Skip to content

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

include todo in files

Magnus Müllerf09004ebd5df
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py
index ffaf38936..1abc8e368 100644
--- a/browser_use/tools/service.py
+++ b/browser_use/tools/service.py
@@ -1178,8 +1178,6 @@ You will be given a query and the markdown of a webpage that has been filtered t
if self.display_files_in_done_text:
file_msg = ''
for file_name in params.files_to_display:
- if file_name == 'todo.md':
- continue
file_content = file_system.display_file(file_name)
if file_content:
file_msg += f'\n\n{file_name}:\n{file_content}'
@@ -1191,8 +1189,6 @@ You will be given a query and the markdown of a webpage that has been filtered t
logger.warning('Agent wanted to display files but none were found')
else:
for file_name in params.files_to_display:
- if file_name == 'todo.md':
- continue
file_content = file_system.display_file(file_name)
if file_content:
attachments.append(file_name)