github huggingface/smolagents v1.17.0

latest releases: v1.21.3, v1.21.2, v1.21.1...
3 months ago

New Features ✨

  • Structured Generation in CodeAgent: Add optional support for structured outputs in CodeAgent, enabling more reliable and consistent generation patterns
  • Support for Streamable HTTP MCP Servers: Expand compatibility with new server types to support streamable HTTP MCP implementations
  • Run Results from Agent.run(): The Agent.run() method can now return a RunResult object, providing richer metadata on agent execution

Security Enhancements 🔒

  • Safer LocalPythonExecutor: Prevent indirect submodule access via attribute resolution, mitigating potential security risks in user-defined code
    • Prevent submodules through indirect attribute access in LocalPythonExecutor by @albertvillanova in #1375

Enhancements 🛠️

Bug Fixes 🐛

Documentation Improvements 📚

Maintenance 🏗️

New Contributors

Full Changelog: v1.16.1...v1.17.0

Don't miss a new smolagents release

NewReleases is sending notifications on new releases.