huggingface / huggingface/agents-course

[HANDS-ON BUG] GoogleSearchTool.__init__() got an unexpected keyword argument `provider`

Open
#254 4 comments 0 reactions 1 assignee Claimed by @sergiopaniego View on GitHub
hands-on-bug
Dominant language
MDX
Stars
32.6k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
In the ``Multi Agent System` chapter of `Unit 2`, the `GoogleSearchTool` uses the `provider` attribute which is not yet available in the latest released version (1.9.2) of `smolagents`

**To Reproduce**
Copy Paste the code blobs of the chapter in a python script and try to launch it.
It will crash

**Screenshots**

![Image](https://github.com/user-attachments/assets/0f293605-5900-4b55-ade3-98a459aa4f34)

![Image](https://github.com/user-attachments/assets/47ad6f37-18a8-4cf1-931a-64a136d999dd)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.