Fix E2BExecutor by pinning e2b-code-interpreter to < 2 by albertvillanova · Pull Request #1733 · huggingface/smolagents (original) (raw)
Fix E2BExecutor by pinning e2b-code-interpreter to < 2.
The e2b-code-interpreter package introduced breaking changes in the 2.0.0 release, which currently cause the E2BExecutor to fail:
This PR updates our dependencies to pin e2b-code-interpreter to versions < 2, ensuring the executor works as expected until we add support for 2.x.
Notes:
- Users experiencing issues can reinstall with:
pip install -U "e2b-code-interpreter<2" - We will update or remove the pin once compatibility with 2.x is implemented.
Fix #1730.