Skip to content

Error "'int' object has no attribute 'name' " in running The agent #487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
abla-ha opened this issue Apr 9, 2025 · 1 comment
Closed

Comments

@abla-ha
Copy link

abla-ha commented Apr 9, 2025

I cloned the repo and installed all packages successfully, when I tried to run a prompt to search something in google using Gemini-2.0-flash model I got this error:

INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 1/3 times:
'int' object has no attribute 'name'
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 2/3 times:
'int' object has no attribute 'name'
INFO [src.agent.custom_agent]
πŸ“ Step 1
ERROR [agent] ❌ Result failed 3/3 times:
'int' object has no attribute 'name'
ERROR [src.agent.custom_agent] ❌ Stopping due to 3 consecutive failures
INFO [agent] Created GIF at agent_history.gif
INFO [agent] πŸš€ Starting task: go to google and search "Repair techniciens in New york city ", return the first URL
INFO [src.agent.custom_agent]

@warmshao
Copy link
Collaborator

browser-use version? remember pip install -r requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants