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
reduce max_output_tokens gemini
Magnus Müller98995449c2c0
diff --git a/browser_use/llm/google/chat.py b/browser_use/llm/google/chat.pyindex 3c11186a0..757c9e895 100644--- a/browser_use/llm/google/chat.py+++ b/browser_use/llm/google/chat.py@@ -78,7 +78,7 @@ class ChatGoogle(BaseChatModel):top_p: float | None = Noneseed: int | None = Nonethinking_budget: int | None = None # for gemini-2.5 flash and flash-lite models, default will be set to 0- max_output_tokens: int | None = 8192+ max_output_tokens: int | None = 4096config: types.GenerateContentConfigDict | None = Noneinclude_system_in_user: bool = Falsesupports_structured_output: bool = True # New flag