Skip to content

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

Merge pull request #570 from takeyaqa/fix_save_conversation_path

Magnus Müller5e0af71af83e
diff --cc browser_use/agent/service.py
index 726cde684,c1fa053ad..2441e2e2e
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@@ -112,12 -106,13 +112,14 @@@ class Agent
self.page_extraction_llm = llm
else:
self.page_extraction_llm = page_extraction_llm
-
+ self.available_file_paths = available_file_paths
self.task = task
self.use_vision = use_vision
+ self.use_vision_for_planner = use_vision_for_planner
self.llm = llm
self.save_conversation_path = save_conversation_path
+ if self.save_conversation_path and '/' not in self.save_conversation_path:
+ self.save_conversation_path = f'{self.save_conversation_path}/'
self.save_conversation_path_encoding = save_conversation_path_encoding
self._last_result = None
self.include_attributes = include_attributes