agents-course icon indicating copy to clipboard operation
agents-course copied to clipboard

[UPDATE] Inconsistency in figure in "Actions: Enabling the Agent to Engage with Its Environment"

Open cm-l opened this issue 1 month ago • 1 comments

There seems to be a small inconsistency in the illustration in Actions: Enabling the Agent to Engage with Its Environment (Unit 1). (https://huggingface.co/learn/agents-course/unit1/actions)

On the right side, the Python code in the figure ends with outputting most_cost_effective_country, most_cost_effective_price - so a country and the price of the phone. Meanwhile, the environment output underneath the code is shown to be 1.1, 0.19 which doesn't make sense in the context of the code that's right above it.

Given that the agent ends up with the final response of Japan and $904.00, the environment output should show "Japan", 904.00 to match what the agent says.

Unfortunately, because images are not a part of the repo, I could not open a PR to replace it directly. Below is an attached image with the text corrected:

Image

cm-l avatar Nov 03 '26 03:11 cm-l

Hi! I'd be happy to fix this figure so the environment output matches the code ("Japan", 904.00). Could you point me to where the image asset lives (this repo or the documentation-images dataset)? Then I'll open a PR.

shupandee avatar Nov 04 '26 04:11 shupandee