v1.11.0
huggingface/smolagentsv1.11.0Mar 14, 2025by albertvillanova
AI Summary
Enhanced security with dangerous module checks, added VLLMModel support, improved code execution safety, and various improvements to tools and executors.
Key Highlights
- Enhanced security with dangerous module checks
- Added VLLMModel support
- Improved local Python interpreter safety
- Support for various model providers (Azure, Groq, etc.)
- Enhanced documentation and tool functionality
New Features
- VLLMModel support
- Enhanced security with dangerous module checks
- Improved local Python interpreter safety
- Support for various model providers
- Enhanced tool validation and error handling
Full Release Notes
## What's Changed * Bump dev version: v1.11.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/890 * Add Chinese translation & fix zh doc build process by @muscaestar in https://github.com/huggingface/smolagents/pull/893 * Fix chained assignment in local executor by @sysradium in https://github.com/huggingface/smolagents/pull/843 * Check dangerous modules instead of dangerous patterns by @albertvillanova in https://github.com/huggingface/smolagents/pull/877 * Fix typo in building good agents tutorial by @whistler in https://github.com/huggingface/smolagents/pull/903 * Add tests and refactor CLI by @albertvillanova in https://github.com/huggingface/smolagents/pull/892 * Bump mcpadapt >= 0.0.15 by @albertvillanova in https://github.com/huggingface/smolagents/pull/895 * Update docs about changing the system prompt by @albertvillanova in https://github.com/huggingface/smolagents/pull/900 * Support transformers 4.49.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/898 * Fix typo in list of dangerous functions by @albertvillanova in https://github.com/huggingface/smolagents/pull/909 * Improve evaluate_subscript by @albertvillanova in https://github.com/huggingface/smolagents/pull/916 * Enforce security check in all evaluations by @albertvillanova in https://github.com/huggingface/smolagents/pull/906 * Improve performance of test_while infinite loop by @albertvillanova in https://github.com/huggingface/smolagents/pull/907 * Test all dangerous functions and fix check of os.system by @albertvillanova in https://github.com/huggingface/smolagents/pull/911 * Fix Tool docstring, and model init exception by @zhanluxianshen in https://github.com/huggingface/smolagents/pull/927 * Remove default model_id from models by @albertvillanova in https://github.com/huggingface/smolagents/pull/905 * Improve docstring of parse_code_blobs by @albertvillanova in https://github.com/huggingface/smolagents/pull/876 * Test vulnerability for dangerous modules by @albertvillanova in https://github.com/huggingface/smolagents/pull/929 * Fix broken link to benchmarking code in README by @amaarora in https://github.com/huggingface/smolagents/pull/933 * Fix Gradio UI for unnamed agents by @sysradium in https://github.com/huggingface/smolagents/pull/812 * Add mlx-lm to all extra by @albertvillanova in https://github.com/huggingface/smolagents/pull/961 * Fix Gradio UI for None name by @albertvillanova in https://github.com/huggingface/smolagents/pull/956 * Introduce counter class by @Bilokin in https://github.com/huggingface/smolagents/pull/891 * Fix AzureOpenAIServerModel to not call openai.OpenAI by @albertvillanova in https://github.com/huggingface/smolagents/pull/966 * Fix CI usage of uv by @albertvillanova in https://github.com/huggingface/smolagents/pull/970 * Adds VLLMModel by @NathanHB in https://github.com/huggingface/smolagents/pull/337 * Support passing flatten_messages_as_text to OpenAIServerModel and test by @albertvillanova in https://github.com/huggingface/smolagents/pull/959 * Fix tool function implementation by @albertvillanova in https://github.com/huggingface/smolagents/pull/943 * Fix broken example of using MCP Server by @njbrake in https://github.com/huggingface/smolagents/pull/936 * Support passing any kwargs to E2BExecutor Sandbox by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/951 * Fix VLLMModel example in models docs by @zhanluxianshen in https://github.com/huggingface/smolagents/pull/976 * Fix OpenAIServerModel client by @durd07 in https://github.com/huggingface/smolagents/pull/975 * Forbid all modules by default except whitelist authorized_imports by @albertvillanova in https://github.com/huggingface/smolagents/pull/935 * Forbid access to all dunder attributes by default by @albertvillanova in https://github.com/huggingface/smolagents/pull/979 * Raise agent generation errors by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/948 * Update Open Deep Research's README.md by @keetrap in https://github.com/huggingface/smolagents/pull/763 * Make sure to log thoughts if verbosity_level is set to high by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/964 * Get correct source code for functions defined in local executor. by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/973 ## New Contributors * @muscaestar made their first contribution in https://github.com/huggingface/smolagents/pull/893 * @whistler made their first contribution in https://github.com/huggingface/smolagents/pull/903 * @zhanluxianshen made their first contribution in https://github.com/huggingface/smolagents/pull/927 * @amaarora made their first contribution in https://github.com/huggingface/smolagents/pull/933 * @NathanHB made their first contribution in https://github.com/huggingface/smolagents/pull/337 * @njbrake made their first contribution in https://github.com/huggingface/smolagents/pull/936 * @durd07 made their first contribution in https://github.com/huggingface/smolagents/pull/975 **Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.10.0...v1.11.0