Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Thinking budget

Magnus Müller2430a266157f
diff --git a/examples/models/gemini.py b/examples/models/gemini.py
index 21f1d58aa..bf8bc3306 100644
--- a/examples/models/gemini.py
+++ b/examples/models/gemini.py
@@ -14,7 +14,7 @@ api_key = os.getenv('GOOGLE_API_KEY')
if not api_key:
raise ValueError('GOOGLE_API_KEY is not set')
-llm = ChatGoogle(model='gemini-2.5-flash', api_key=api_key, thinking_budget=-1)
+llm = ChatGoogle(model='gemini-2.5-flash', api_key=api_key)
async def run_search():