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
Update speed optimization example to use ChatGroq for improved inference performance
Magnus Müllerb73b88d25fcc
diff --git a/examples/getting_started/05_speed_optimized.py b/examples/getting_started/05_speed_optimized.pyindex fb6fbde74..59290b4d2 100644--- a/examples/getting_started/05_speed_optimized.py+++ b/examples/getting_started/05_speed_optimized.py@@ -37,13 +37,15 @@ SPEED OPTIMIZATION INSTRUCTIONS:async def main():# 1. Use fast LLM - Llama 4 on Groq for ultra-fast inference- # llm = ChatGroq(- # model='meta-llama/llama-4-maverick-17b-128e-instruct',- # temperature=0.0,- # )- from browser_use import ChatGoogle+ from browser_use import ChatGroq- llm = ChatGoogle(model='gemini-2.5-flash')+ llm = ChatGroq(+ model='meta-llama/llama-4-maverick-17b-128e-instruct',+ temperature=0.0,+ )+ # from browser_use import ChatGoogle++ # llm = ChatGoogle(model='gemini-2.5-flash')# 2. Create speed-optimized browser profilebrowser_profile = BrowserProfile(