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
Remove max length
Magnus Müllerf42fbf6d6a40
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex b74e48c48..b9f3db316 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -159,7 +159,6 @@ class Agent(Generic[Context]):settings=MessageManagerSettings(max_input_tokens=self.settings.max_input_tokens,include_attributes=self.settings.include_attributes,- max_error_length=self.settings.max_error_length,message_context=self.settings.message_context,sensitive_data=sensitive_data,available_file_paths=self.settings.available_file_paths,diff --git a/browser_use/agent/views.py b/browser_use/agent/views.pyindex 39746689d..15480eb64 100644--- a/browser_use/agent/views.py+++ b/browser_use/agent/views.py@@ -52,7 +52,6 @@ class AgentSettings(BaseModel):'alt','aria-expanded',]- max_error_length: int = 400max_actions_per_step: int = 10tool_calling_method: Optional[ToolCallingMethod] = 'auto'