Skip to content

Releases: huggingface/smolagents

v1.4.1

17 Jan 20:00
Compare
Choose a tag to compare

What's Changed

New features 🚀

  • Add support for MCP Servers tools as ToolCollection by @grll in #232
    • This enables using Model Context Protocol (MCP) servers, thus makes many, many tools compatible with smolagents: find a list on glama.ai or smithery.ai
  • Allow passing kwargs to all models by @aymeric-roucher in #222
  • Add Chinese translations for multi-agent example by @FanwangM in #246

Fixes 🐛

Adjustments 🔧

New Contributors

Full Changelog: v1.3.0...v1.4.1

v1.3.0

15 Jan 16:30
Compare
Choose a tag to compare

What's Changed

New features 🚀

inspect_run_phoenix
  • We now have a Chinese (mandarin) version of the doc for smolagents! by @Ayuilos in #156

  • Add option to upload files to GradioUI by @stackviolator in #138

  • feat: Add multi-GPU support for TransformersModel by @6643789wsx in #139

  • More flexible verbosity level: now use verbosity_level=0/1/2 instead of verbose=True/False upon agent initialization by @aymeric-roucher in #150. This gives you more fine-grained control over verbosity!

  • Agents can now import anything using additional_authorized_imports=['*']! Contributed by @joaopauloschuler in #129

Fixes and smol improvements 🔧

New Contributors

Full Changelog: v1.2.2...v1.3.0

v1.2.0

10 Jan 15:30
Compare
Choose a tag to compare

What's Changed

Big features:

  • Add an OpenAIServerModel by @Zetaphor in #109
    • This unlocks using any OpenAI-format-compatible server like TGI or vLLM.
  • Enable smolagent tools in Hugging Chat! 🚀 in #132
    • Demo incoming!
  • Vastly simplify Model class ✨ in #146
    • Now Model subclasses have only one __call__ method: if arg tools_to_call_from is passed, this method will return a tool call instead of just a string.
  • Halve import time by removing torch dependency in #147
    • Following up on #100 raised by @xianminx, removing dependency on torch allowed to halve the library loading time!
  • Support OpenTelemetry in #136
    • This is still cooking, more stuff needs to be done, but we'll have observability!

Other important features

Great thanks for everyone who participated!

v1.1.0

06 Jan 22:19
Compare
Choose a tag to compare

What's Changed

New features: 🥳

  • !Breaking change: Agent initialization argument max_iterations changed to max_steps for consistency.
  • Add a warning towards the user when imports are missing in CodeAgent 3f79bae.
  • Add code of conduct and contributing guide by @LysandreJik in #50
  • feat: Add max_results kwarg to DDGS tool by @Stillerman in #40
  • Add support for additional keyword arguments in LiteLLMModel by @chakib-belgaid in #29
  • Add device parameter for TransformerModel in models.py by @ScientistIzaak in #49

Fixes: 🔧

  • Don't pass sanitize_inputs_outputs=True to managed agents by @grrowl in #85
  • Include missing pip install library in RAG example by @DarwinAnim8or in #92
  • Fix issue with forward signature validation in space tool wrapper by @lelayf in #75
  • fix ToolCollection usage by @Brunwo in #53

Typos: 🪶

Full Changelog: v1.0.0...v1.1.0

v1.0.0

31 Dec 18:36
Compare
Choose a tag to compare
Bump release number for 1.0.0

v0.1.0: First ever release!

27 Dec 15:59
Compare
Choose a tag to compare