Skip to content

Releases: huggingface/smolagents

v1.20.0

10 Jul 16:22
808e095
Compare
Choose a tag to compare

New Features ✨

Enhancements 🛠️

Bug Fixes 🐛

Documentation Improvements 📚

Maintenance 🏗️

New Contributors

Full Changelog: v1.19.0...v1.20.0

v1.19.0

24 Jun 08:43
afce474
Compare
Choose a tag to compare

Enhancements 🛠️

Bug Fixes 🐛

Documentation Improvements 📚

Maintenance 🏗️

New Contributors

Full Changelog: v1.18.0...v1.19.0

v1.18.0

10 Jun 14:15
965c705
Compare
Choose a tag to compare

New Features ✨

  • Multiple Parallel Tool Calls: ToolCallingAgent can now handle multiple tool calls in parallel, significantly enhancing performance for complex tasks.
  • Streaming Output for ToolCallingAgent: ToolCallingAgent now supports streaming outputs, improving responsiveness and user experience during multi-step tool interactions
  • API Web Search Tool: Introduced a new ApiWebSearchTool, enabling structured web search capabilities via API.

Enhancements 🛠️

Bug Fixes 🐛

Documentation Improvements 📚

Maintenance 🏗️

New Contributors

Full Changelog: v1.17.0...v1.18.0

v1.17.0

27 May 11:26
81132c5
Compare
Choose a tag to compare

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

v1.16.1

16 May 15:06
946f877
Compare
Choose a tag to compare

Bug Fixes 🐛

Full Changelog: v1.16.0...v1.16.1

v1.16.0

16 May 05:59
f83c8d1
Compare
Choose a tag to compare

New features 🚀

Important changes ⚠️

  • Default provider for InferenceClientModel is now "auto"
    The default value of the provider argument in InferenceClientModel has changed from "hf-inference" to "auto".
    With "auto", the client will automatically select the first available provider for the model, following the user's configured priority at https://hf.co/settings/inference-providers
    • Pin minimum version of huggingface-hub to use InferenceClient auto provider by @julien-c in #1322

Bug Fixes 🐛

Documentation 📚

Misc 🛠️

New Contributors

Full Changelog: v1.15.0...v1.16.0

v1.15.0

07 May 15:25
31389a4
Compare
Choose a tag to compare

New features 🚀

New documentation 📚

Fixes and improvements 🔧

Maintenance 🏗️

New Contributors

Full Changelog: v1.14.0...v1.15.0

v1.14.0

18 Apr 09:59
3142d91
Compare
Choose a tag to compare

New features 🚀

  • SmolAgents MCP Client by @grll in #1200
    • Introduce a new MCPClient class that allows users to manage connections to one or more MCP servers, making integration with SmolAgents more flexible and scalable.
  • Amazon Bedrock Native API Support by @leandrodamascena in #1115
    • Add native support for Amazon Bedrock in the models module, enabling seamless interaction with Bedrock-hosted models.

Important changes 💥

  • Rename HfApiModel to InferenceClientModel by @julien-c in #1198
    • Align the naming with its broader usage beyond the Hugging Face Hub, clarifying its purpose and usage.
  • Star-pattern-based import authorization by @aymeric-roucher in #1180
    • Enhance import security by introducing a star-pattern-based authorization mechanism, allowing fine-grained control over which modules can be imported.

Fixes and improvements 🔧

New Contributors

Full Changelog: v1.13.0...v1.14.0

v1.13.0

02 Apr 15:10
Compare
Choose a tag to compare

Important changes 🚀

  • Gradio UI now logs images observed by your agent: log observations images by @aymeric-roucher in #1113
  • allow users to retrieve original Gradio app by @sysradium in #811
  • Re-authorize submodule imports if top was allowed by @aymeric-roucher in #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: v1.12.0...v1.13.0

v1.12.0

20 Mar 09:37
7776b07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.11.0...v1.12.0