Skip to content

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

Add GROK_API_KEY to REQUIRED_LLM_API_ENV_VARS in agent/views.py

Dha-aa27525a85956a
diff --git a/browser_use/agent/views.py b/browser_use/agent/views.py
index d46e42df8..7c270d811 100644
--- a/browser_use/agent/views.py
+++ b/browser_use/agent/views.py
@@ -30,6 +30,7 @@ REQUIRED_LLM_API_ENV_VARS = {
'ChatGoogleGenerativeAI': ['GEMINI_API_KEY'],
'ChatDeepSeek': ['DEEPSEEK_API_KEY'],
'ChatOllama': [],
+ 'ChatGrok':['GROK_API_KEY']
}