v1.12.0
What's Changed
- Bump dev version: v1.12.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/982
- Fix json parsing by @sysradium in https://github.com/huggingface/smolagents/pull/987
- Fix Agent.from_hub for older smolagents exports by @albertvillanova in https://github.com/huggingface/smolagents/pull/989
- Regression fix: ChatMessageToolCall id must be a string by @sysradium in https://github.com/huggingface/smolagents/pull/990
- Always parse tool calls from APIs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/991
- Sort additional authorized imports by @keetrap in https://github.com/huggingface/smolagents/pull/998
- Fix custom prompt templates in Agent.from_hub by @albertvillanova in https://github.com/huggingface/smolagents/pull/1001
- Always parse arguments from API tool calls by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1000
- Fix TransformersModel: torch_dtype and trust_remote_code not passed to VLM by @Louis-Gv in https://github.com/huggingface/smolagents/pull/1012
- Fix double space in toolcalling_agent.yaml by @louisbrulenaudet in https://github.com/huggingface/smolagents/pull/1021
- Update images type and docstring by @keetrap in https://github.com/huggingface/smolagents/pull/1018
- Support JSON string arguments in tool calls by @albertvillanova in https://github.com/huggingface/smolagents/pull/1003
- Pass trust_remote_code to transformers tokenizer/processor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1013
- Fix code using pillow required dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/1019
- Fix tests of Agent.save and Tool.save by @albertvillanova in https://github.com/huggingface/smolagents/pull/1029
- Remove dependency on transformers get_tests_dir by @albertvillanova in https://github.com/huggingface/smolagents/pull/1026
- Reduce model calls in planning_step from 2 to 1 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/985
- Bugfix: adding <end_code> to prevent imaginary tool calls in CodeAgent by @IlyaGusev in https://github.com/huggingface/smolagents/pull/918
- Use pytest-datadir for shared data files by @albertvillanova in https://github.com/huggingface/smolagents/pull/1031
- Refactor Agent.to_dict by @albertvillanova in https://github.com/huggingface/smolagents/pull/1004
- Add support for MCP SSE servers by @grll in https://github.com/huggingface/smolagents/pull/931
New Contributors
- @Louis-Gv made their first contribution in https://github.com/huggingface/smolagents/pull/1012
- @louisbrulenaudet made their first contribution in https://github.com/huggingface/smolagents/pull/1021
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.11.0...v1.12.0
Fetched April 7, 2026

