mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
13 lines
306 B
Python
13 lines
306 B
Python
from dotenv import load_dotenv
|
|
|
|
from browser_use import Agent, ChatGoogle
|
|
|
|
load_dotenv()
|
|
|
|
agent = Agent(
|
|
task='Find the number of stars of the browser-use repo',
|
|
llm=ChatGoogle(model='gemini-flash-latest'),
|
|
# browser=Browser(use_cloud=True), # Uses Browser-Use cloud for the browser
|
|
)
|
|
agent.run_sync()
|