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: resolve Gemini API error on empty action schemas
nitesh-77285995ecce3f
diff --git a/browser_use/tools/views.py b/browser_use/tools/views.pyindex cda32a626..1938df5eb 100644--- a/browser_use/tools/views.py+++ b/browser_use/tools/views.py@@ -94,6 +94,9 @@ class UploadFileAction(BaseModel):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")+class GetDropdownOptionsAction(BaseModel):index: int