Skip to content

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

Update max_actions_per_step to 4

Magnus Müller15054a75c9bb
diff --git a/browser_use/agent/views.py b/browser_use/agent/views.py
index 9efe9528a..395c95414 100644
--- a/browser_use/agent/views.py
+++ b/browser_use/agent/views.py
@@ -39,7 +39,7 @@ class AgentSettings(BaseModel):
override_system_message: str | None = None
extend_system_message: str | None = None
include_attributes: list[str] | None = DEFAULT_INCLUDE_ATTRIBUTES
- max_actions_per_step: int = 10
+ max_actions_per_step: int = 4
use_thinking: bool = True
flash_mode: bool = False # If enabled, disables evaluation_previous_goal and next_goal, and sets use_thinking = False
max_history_items: int | None = None