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 ✨
- This enables using Model Context Protocol (MCP) servers, thus makes many, many tools compatible with
- Allow passing kwargs to all models by @aymeric-roucher in #222
- Add Chinese translations for multi-agent example by @FanwangM in #246
Fixes 🐛
- Fix subpackage import vulnerability by @aymeric-roucher in #238
- Fix typo in building_good_agents.md by @rug in #193
- Align data types in example benchmark by @albertvillanova in #205
- Rename the split of the benchmark dataset from train to test by @albertvillanova in #216
- Fix vanilla model answer in example benchmark by @albertvillanova in #219
- Fix additional args in stream_to_gradio by @aymeric-roucher in #221
- Return textboxes on Gradio file upload errors by @stackviolator in #214
- Docs Bug - fix tool example with additional args by @RolandJAAI in #228
- Dead Link to Duck Duck Go search tool by @matterattetatte in #233
- Fix missing python modules in CodeAgent system prompt by @edbeeching in #226
Adjustments 🔧
- Clean makefile, pyproject.toml and CI by @Wauplin in #229
- Add resizeable option to Gradio UI component for better usabilty by @jank in #234
- Add trust_remote_code arg to TransformersModel by @aymeric-roucher in #240
- Make openai dependency optional by @albertvillanova in #236
- Remove dependency on _is_package_available from transformers by @albertvillanova in #247
- Update README.md by @aymeric-roucher in #208
- Set ollama context length in example to 8192 to make it work by @RolandJAAI in #252
- chore: unset console width, utilize auto detect feature by @simpletrontdip in #196
- Max length of "print" outputs as a parameter of an agent by @IlyaGusev in #209
- Small fixes in docs by @MoritzLaurer in #245
- Fixes before release by @aymeric-roucher in #254
New Contributors
- @rug made their first contribution in #193
- @RolandJAAI made their first contribution in #228
- @matterattetatte made their first contribution in #233
- @jank made their first contribution in #234
- @edbeeching made their first contribution in #226
- @Wauplin made their first contribution in #229
- @FanwangM made their first contribution in #246
- @simpletrontdip made their first contribution in #196
- @MoritzLaurer made their first contribution in #245
- @grll made their first contribution in #232
Full Changelog: v1.3.0...v1.4.1