Skip to content

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

Remove inheritance from SystemPrompt in PlannerPrompt class

Cursor Agent3cf06db28ea5
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.py
index 40885f43d..f794964f6 100644
--- a/browser_use/agent/prompts.py
+++ b/browser_use/agent/prompts.py
@@ -207,7 +207,7 @@ Interactive elements from top layer of the current page inside the viewport{trun
return UserMessage(content=state_description)
-class PlannerPrompt(SystemPrompt):
+class PlannerPrompt:
def __init__(self, available_actions: str):
self.available_actions = available_actions