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:

Fix #1730.