huggingface / huggingface/agents-course
[HANDS-ON BUG] E2B sandbox error in 2.1 final quiz
- Dominant language
- MDX
- Stars
- 32.6k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
**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:
screenshot2:
**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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.