releases.shpreview

v1.13.0

$npx -y @buildinternet/releases show rel_Kk26WZJ7vIlSsyXaNrbm8

Important changes 🚀

  • Gradio UI now logs images observed by your agent: log observations images by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1113
  • allow users to retrieve original Gradio app by @sysradium in https://github.com/huggingface/smolagents/pull/811
  • Re-authorize submodule imports if top was allowed by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1103
    • We had internal debate about this one: when a user authorizes import of a top level package like additional_authorized_imports=["numpy"], should it:
      • Option 1: by default enable all subpackages like numpy.random, except potentially dangerous ones that we then have to detect through a blocklist?
      • Option 2: not import any subpackage, thus user have to type any subpackage they want to authorize, as in additional_authorized_imports=["numpy", "numpy.random", "numpy.other_subpackage", ...] Option 2 is safer, but Option 1 is much more practical, so we went with option 1. Daily disclaimer: code execution can never be 100% safe on you system, if you want to increase safety, use one of the remote executors that we propose, E2B or Docker.

Fixes & Tweaks

New Contributors

Full Changelog: https://github.com/huggingface/smolagents/compare/v1.12.0...v1.13.0

Fetched April 7, 2026