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
fixes
mertunsall5ccf02b794c7
diff --git a/browser_use/agent/views.py b/browser_use/agent/views.pyindex 91e1ecc3c..0eb3079cc 100644--- a/browser_use/agent/views.py+++ b/browser_use/agent/views.py@@ -206,6 +206,7 @@ class AgentOutput(BaseModel):def model_json_schema(cls, **kwargs):schema = super().model_json_schema(**kwargs)del schema['properties']['thinking']+ schema['required'] = ['evaluation_previous_goal', 'memory', 'next_goal', 'action']return schemamodel = create_model(@@ -233,6 +234,8 @@ class AgentOutput(BaseModel):del schema['properties']['thinking']del schema['properties']['evaluation_previous_goal']del schema['properties']['next_goal']+ # Update required fields to only include remaining properties+ schema['required'] = ['memory', 'action']return schemamodel = create_model(diff --git a/pyproject.toml b/pyproject.tomlindex 50487186c..fee168db4 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -135,6 +135,7 @@ include = ["!browser_use/**/tests.py","browser_use/agent/system_prompt.md","browser_use/agent/system_prompt_no_thinking.md",+ "browser_use/agent/system_prompt_flash.md","browser_use/dom/**/*.js","!tests/**/*.py",]