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