Skip to content

Commit

Permalink
Update smolagents-can-see.md
Browse files Browse the repository at this point in the history
Co-authored-by: Albert Villanova del Moral <[email protected]>
  • Loading branch information
aymeric-roucher and albertvillanova authored Jan 24, 2025
1 parent 640a575 commit 78dfa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smolagents-can-see.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ We’re going to use [helium](https://github.com/mherrmann/helium). It provides
pip install "smolagents[all]" helium selenium python-dotenv
```

The agent itself can use helium directly, so no need for specific tools: it can directly use helium to perform actions, such as `click(top 10)` to click the button named top 10 visible on the page.
The agent itself can use helium directly, so no need for specific tools: it can directly use helium to perform actions, such as `click("top 10")` to click the button named "top 10" visible on the page.

We still have to make two more tools to help the agent navigate the web: a tool to go back to the previous page, and another tool to close pop-ups, because these are quite hard to grab for `helium` since they don’t have any text on their close buttons.

Expand Down

0 comments on commit 78dfa3b

Please sign in to comment.