Add Blaxel support for remote code execution by Joffref · Pull Request #1791 · huggingface/smolagents (original) (raw)
- Introduced
BlaxelExecutor for executing Python code in Blaxel sandboxes, providing fast-launching VMs with hibernation.
- Updated
pyproject.toml to include Blaxel as a dependency.
- Modified documentation to reflect Blaxel integration in various sections, including installation, usage examples, and security considerations.
- Enhanced
CodeAgent to support executor_type="blaxel" for seamless integration.
- Added unit tests for
BlaxelExecutor to ensure proper functionality and error handling.