Skip to content

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

remove temp from gemini

Magnus Müllerea551e8b6ca6
diff --git a/examples/models/gemini.py b/examples/models/gemini.py
index f37d337b0..28f67b964 100644
--- a/examples/models/gemini.py
+++ b/examples/models/gemini.py
@@ -14,13 +14,12 @@ api_key = os.getenv('GOOGLE_API_KEY')
if not api_key:
raise ValueError('GOOGLE_API_KEY is not set')
-llm = ChatGoogle(model='gemini-flash-latest', api_key=api_key, temperature=0.0)
-
async def run_search():
+ llm = ChatGoogle(model='gemini-flash-latest', api_key=api_key)
agent = Agent(
- task='How many stars does the browser-use repo have?',
llm=llm,
+ task='How many stars does the browser-use repo have?',
)
await agent.run()