Skip to content
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

Minor fix: adding a 60 seconds timeout to the visit webpage tool #308

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

Killian-pit
Copy link
Contributor

Some site may be unresponsive and leave the agent hanging for a while. Adding a 60 seconds time cutoff for the request to url to conclude in the visit_webpage tool

@Killian-pit Killian-pit changed the title adding a 60 seconds timeout to the visit webpage tool Minor fix: adding a 60 seconds timeout to the visit webpage tool Jan 22, 2025
@aymeric-roucher
Copy link
Collaborator

Do you think 60 seconds is really needed? Could it be something more like 10seconds? (no strong opinion here, just wondering if we're not wasting time in some cases)

@Killian-pit
Copy link
Contributor Author

No strong opinion either @aymeric-roucher :) 60 seconds sounded like an okay p999 to get a response. Just noticed this morning that my script was stuck after a a few minutes only

@aymeric-roucher
Copy link
Collaborator

Ok, so let's make it 20 for now and we'll see later if it needs increasing!

Copy link
Member

@albertvillanova albertvillanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@albertvillanova albertvillanova merged commit 5d6502a into huggingface:main Jan 22, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants