Skip to content

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

more timeout for gemini 3 pro

mertunsall67e2d779d857
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 1ff8e059c..1214bdf15 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -233,6 +233,8 @@ class Agent(Generic[Context, AgentStructuredOutput]):
"""Determine timeout based on model name"""
model_name = getattr(llm_model, 'model', '').lower()
if 'gemini' in model_name:
+ if '3-pro' in model_name:
+ return 90
return 45
elif 'groq' in model_name:
return 30