Code: Select all
from browser_use.agent.service import Agent
from langchain_google_genai import ChatGoogleGenerativeAI
async def SiteValidation():
task = (
'I am a UI automation UI tester validating this task'
'Open the website https://www.google.com'
)
llm=ChatGoogleGenerativeAI(model='',api_key='')
Agent(task,llm)
< /code>
Ich habe auch versucht, die Version herabzustufen. Nichts hat funktioniert.