Skip to content

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

Remvoe default_action_description because its in the schema

Magnus Müller925a47ed8f0f
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.py
index c7083c435..02653fb70 100644
--- a/browser_use/agent/prompts.py
+++ b/browser_use/agent/prompts.py
@@ -141,13 +141,14 @@ Notes:
{self.important_rules()}
-Functions:
-{self.default_action_description}
Remember: Your responses must be valid JSON matching the specified format. Each action in the sequence must be valid."""
return SystemMessage(content=AGENT_PROMPT)
+# Functions:
+# {self.default_action_description}
+
# Example:
# {self.example_response()}
# Your AVAILABLE ACTIONS: