Skip to content

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

Update supported-models.mdx

clates5a2e6696bf9b
diff --git a/docs/customize/supported-models.mdx b/docs/customize/supported-models.mdx
index d8452bc36..be88e802c 100644
--- a/docs/customize/supported-models.mdx
+++ b/docs/customize/supported-models.mdx
@@ -117,7 +117,7 @@ from pydantic import SecretStr
import os
# Initialize the model
-llm = ChatGoogleGenerativeAI(model='gemini-2.0-flash-exp', api_key=SecretStr(api_key))
+llm = ChatGoogleGenerativeAI(model='gemini-2.0-flash-exp', api_key=SecretStr(os.getenv('GEMINI_API_KEY')))
# Create agent with the model
agent = Agent(