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
fix: use str | None type hint to satisfy linter
nitesh-77d17f10fe45ad
diff --git a/browser_use/tools/views.py b/browser_use/tools/views.pyindex 1938df5eb..b99e68119 100644--- a/browser_use/tools/views.py+++ b/browser_use/tools/views.py@@ -95,7 +95,7 @@ class NoParamsAction(BaseModel):model_config = ConfigDict(extra='ignore')# Optional field required by Gemini API which errors on empty objects in response_schema- description: str = Field(None, description="Optional description for the action")+ description: str | None = Field(None, description="Optional description for the action")class GetDropdownOptionsAction(BaseModel):