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

[HANDS-ON BUG] E2B sandbox error in 2.1 final quiz

Open julurisaichandu opened this issue 10 months ago • 1 comments

Describe the bug @davidberenstein1957 When I was giving the quiz for the 2.1 final section, the reference solution for the e2b setup gave the error as shown in the screenshot 2. The reference solution is given in screenshot 1.

To Reproduce copy and paste the reference solution in the test in collab and run Screenshots

screenshot1: Image

screenshot2:

Image

Additional context I think the solution is by the executor_type flag in the code agent, right? The secure code execution article in the Code Agents blog also gives the same solution Link for secure code execution blog - https://huggingface.co/docs/smolagents/tutorials/secure_code_execution

julurisaichandu avatar Mar 11 '25 18:03 julurisaichandu

I faced the same, I also used executor_type="e2b" and was flagged as incorrect. I used the latest smolagents v1.11.0. May be the quiz review is using an older version?

kiatng avatar Mar 18 '25 09:03 kiatng