Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Update max_actions_per_step to 4
Magnus Müller15054a75c9bb
diff --git a/browser_use/agent/views.py b/browser_use/agent/views.pyindex 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 = Noneextend_system_message: str | None = Noneinclude_attributes: list[str] | None = DEFAULT_INCLUDE_ATTRIBUTES- max_actions_per_step: int = 10+ max_actions_per_step: int = 4use_thinking: bool = Trueflash_mode: bool = False # If enabled, disables evaluation_previous_goal and next_goal, and sets use_thinking = Falsemax_history_items: int | None = None