8000 Releases Β· huggingface/smolagents Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: huggingface/smolagents

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 πŸ—οΈ 8000 

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

v1.11.0

14 Mar 19:55
2184001
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.10.0...v1.11.0

v1.10.0

05 Mar 18:04
ebfaba9
Compare
Choose a tag to compare

New features πŸš€πŸš€

  • Add Docker executor by @aymeric-roucher in #733
    • This means you can now initialize agents with executor="docker" to run code in a Docker sandbox! Docs coming soon.
  • Safer local Python interpreter
    • Make local Python interpreter safer by checking if returns builtins by @albertvillanova in #848
    • Make local Python interpreter safer by checking if returns dangerous modules by @albertvillanova in #861
    • Make local Python interpreter safer by adding builtins to dangerous modules by @albertvillanova in #869
  • Add support for serper search by @aymeric-roucher in #698
  • Support running a demo of Open DeepResearch by @albertvillanova in #806
  • Enable Colab notebook version of each doc page (by renaming doc file extension from .md to .mdx) by @albertvillanova in #691

Fixes and improvements πŸ”§

Read more

v1.9.2

17 Feb 10:43
Compare
Choose a tag to compare

Bug Fixes πŸ›

Full Changelog: v1.9.1...v1.9.2

0