v1.15.0
huggingface/smolagentsv1.15.0May 7, 2025by albertvillanova
AI Summary
Added streaming support for model outputs and Gradio chatbots, introduced LiteLLM Router model support, implemented WebSearchTool, and improved documentation.
Key Highlights
- Streaming support for model outputs and Gradio chatbots
- New LiteLLM Router model support
- New WebSearchTool implementation
- Improved documentation with Installation docs and Gemini model docs
- Various fixes and improvements for remote executors and dependencies
New Features
- Streaming support for model outputs
- LiteLLM Router model
- WebSearchTool
- Installation documentation
- Gemini model documentation
Full Release Notes
## New features 🚀 * **Streaming support** * Streaming model outputs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1236 * Working streaming Gradio chatbot outputs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1246 * Simplify validation of stream by @albertvillanova in https://github.com/huggingface/smolagents/pull/1242 * Fix return type hint for generate_stream and rename CompletionDelta to ChatMessageStreamDelta by @albertvillanova in https://github.com/huggingface/smolagents/pull/1247 * Remove dead code related to non-CompletionDelta streaming results by @albertvillanova in https://github.com/huggingface/smolagents/pull/1248 * **New models** * Add LiteLLM Router model by @NishantBaheti in https://github.com/huggingface/smolagents/pull/1096 * **New tools** * Implement WebSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1300 * Replace DuckDuckGoSearchTool with WebSearchTool in docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1303 ## New documentation 📚 * Add Installation docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1293 * Add docs about Using different models: Gemini models by @albertvillanova in https://github.com/huggingface/smolagents/pull/1297 ## Fixes and improvements 🔧 * Fix typo in pydoc by @darxriggs in https://github.com/huggingface/smolagents/pull/1222 * Change language from semantic to lexical for BM25 by @HeardACat in https://github.com/huggingface/smolagents/pull/1230 * Move MCPClient to root-level lib and manage optional dependencies by @njbrake in https://github.com/huggingface/smolagents/pull/1238 * Update README.md by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1233 * Set \_\_name__ to "\_\_main__" in local Python interpreter by @albertvillanova in https://github.com/huggingface/smolagents/pull/1234 * Remove unused argument from the MultiStepAgent documentation by @damnever in https://github.com/huggingface/smolagents/pull/1250 * Add billing for inference providers model by @merveenoyan in https://github.com/huggingface/smolagents/pull/1260 * Fix Loading GAIA dataset by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1266 * Fix remote executor send_tools to skip pip install on empty package list by @albertvillanova in https://github.com/huggingface/smolagents/pull/1273 * Remove smolagents installation from remote executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/1274 * Allow VisitWebpageTool to run on remote executors without installing smolagents by @keetrap in https://github.com/huggingface/smolagents/pull/1288 * Refactor RemotePythonExecutor.send_tools to call install_packages by @albertvillanova in https://github.com/huggingface/smolagents/pull/1281 * Remove unnecessary dependencies from DockerExecutor image by @albertvillanova in https://github.com/huggingface/smolagents/pull/1272 * Support tools with union type return by @albertvillanova in https://github.com/huggingface/smolagents/pull/1294 * Fix WikipediaSearchTool in remote executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/1283 * docs: fix typo by @luisegarduno in https://github.com/huggingface/smolagents/pull/1253 * Fix Custom Final Answer Tool for ToolCallingAgent by @HeardACat in https://github.com/huggingface/smolagents/pull/1255 ## Maintenance 🏗️ * Bump dev version: v1.15.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1221 * CI: Simplify testing by running all tests in a single command by @albertvillanova in https://github.com/huggingface/smolagents/pull/1218 * Fix deprecated typing by @albertvillanova in https://github.com/huggingface/smolagents/pull/1249 * Update Open DeepResearch requirements by @albertvillanova in https://github.com/huggingface/smolagents/pull/1265 * Lower Pillow dependency minimum version to 10.0.1 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1270 * Hotfix CI: pin mcp < 1.7.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1285 * Remove duckduckgo-search as required dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/1271 * Unpin mcp < 1.7.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1289 * Remove markdownify as required dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/1275 ## New Contributors * @darxriggs made their first contribution in https://github.com/huggingface/smolagents/pull/1222 * @HeardACat made their first contribution in https://github.com/huggingface/smolagents/pull/1230 * @NishantBaheti made their first contribution in https://github.com/huggingface/smolagents/pull/1096 * @damnever made their first contribution in https://github.com/huggingface/smolagents/pull/1250 * @luisegarduno made their first contribution in https://github.com/huggingface/smolagents/pull/1253 **Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.14.0...v1.15.0