Skip to content

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

Resolved issue #599. Made changes to docs/customize/supported-models.mdx by adding missing documentation

GODCREATOR3338d14394b9eb0
diff --git a/docs/customize/supported-models.mdx b/docs/customize/supported-models.mdx
index d8452bc36..c2a25ea92 100644
--- a/docs/customize/supported-models.mdx
+++ b/docs/customize/supported-models.mdx
@@ -115,6 +115,10 @@ from langchain_google_genai import ChatGoogleGenerativeAI
from browser_use import Agent
from pydantic import SecretStr
import os
+from dotenv import load_dotenv
+load_dotenv()
+
+api_key = os.getenv("GEMINI_API_KEY")
# Initialize the model
llm = ChatGoogleGenerativeAI(model='gemini-2.0-flash-exp', api_key=SecretStr(api_key))