Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Replace DuckDuckGoSearchTool with WebSearchTool (smolagents v1.15.0) #545

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

Open
yuka-with-data wants to merge 2 commits into huggingface:main
base: main
Choose a base branch
Loading
from yuka-with-data:replace-duckduckgo-websearchtool

Conversation

@yuka-with-data
Copy link
Contributor

@yuka-with-data yuka-with-data commented Jun 15, 2025

This PR updates all references to DuckDuckGoSearchTool and replaces them with the newer WebSearchTool, introduced in version v1.15.0 of the smolagents library. This change also aligns with the update in smolagents PR #1303.

It addresses issue #539.
Once this change is reviewed and approved, I'd be happy to update the remaining course pages in follow-up PRs to complete the migration.

Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member

@sergiopaniego sergiopaniego left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

Could you expand this change to the rest of the smolagents unit since that tool is used in some other sections? 😄

yuka-with-data reacted with thumbs up emoji
Copy link
Member

Also, the current notebooks are located in the HF Org, so it'd be super if we could also update the notebooks there. Otherwise, we could create some discrepancies. Thanks!! 😄

@yuka-with-data yuka-with-data force-pushed the replace-duckduckgo-websearchtool branch from 318169e to df2e08c Compare June 26, 2025 20:49
Copy link
Contributor Author

@sergiopaniego Rebased onto the latest main and applied the requested changes to all relevant files. Haven't worked on the notebooks yet.

sergiopaniego reacted with heart emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sergiopaniego sergiopaniego sergiopaniego left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /