v1.1.0
huggingface/smolagentsv1.1.0Jan 6, 2025by aymeric-roucher
AI Summary
This release includes a breaking change to rename the `max_iterations` parameter to `max_steps`, adds a code of conduct, and introduces new parameters for the DDGS tool and TransformerModel.
Key Highlights
- Renamed `max_iterations` to `max_steps`
- Code of conduct
- DDGS max_results
- Device parameter
Breaking Changes
- Agent initialization argument `max_iterations` changed to `max_steps` for consistency.
New Features
- Parameter renaming
- Code of conduct
- Tool improvements
Full Release Notes
## What's Changed **New features:** 🥳 * !Breaking change: Agent initialization argument `max_iterations` changed to `max_steps` for consistency. * Add a warning towards the user when imports are missing in CodeAgent https://github.com/huggingface/smolagents/commit/3f79baee71196905d8f1d0f65508aa3ee889a245. * Add code of conduct and contributing guide by @LysandreJik in https://github.com/huggingface/smolagents/pull/50 * feat: Add max_results kwarg to DDGS tool by @Stillerman in https://github.com/huggingface/smolagents/pull/40 * Add support for additional keyword arguments in LiteLLMModel by @chakib-belgaid in https://github.com/huggingface/smolagents/pull/29 * Add device parameter for TransformerModel in models.py by @ScientistIzaak in https://github.com/huggingface/smolagents/pull/49 **Fixes:** 🔧 * Don't pass sanitize_inputs_outputs=True to managed agents by @grrowl in https://github.com/huggingface/smolagents/pull/85 * Include missing pip install library in RAG example by @DarwinAnim8or in https://github.com/huggingface/smolagents/pull/92 * Fix issue with forward signature validation in space tool wrapper by @lelayf in https://github.com/huggingface/smolagents/pull/75 * fix ToolCollection usage by @Brunwo in https://github.com/huggingface/smolagents/pull/53 **Typos:** 🪶 * Update building_good_agents.md by @SHUBH4M-KUMAR in https://github.com/huggingface/smolagents/pull/43 * Fix example usage in HfApiModel by @balikasg in https://github.com/huggingface/smolagents/pull/37 * Fixing minor spelling errors in building_good_agents.md by @ScientistIzaak in https://github.com/huggingface/smolagents/pull/33 * chore: update local_python_executor.py by @eltociear in https://github.com/huggingface/smolagents/pull/64 * Add missing end of sentence to building_good_agents by @elroy-bot in https://github.com/huggingface/smolagents/pull/68 * Fix typos by @oliveredget in https://github.com/huggingface/smolagents/pull/74 * Update README.md: add link to blog post by @gary149 in https://github.com/huggingface/smolagents/pull/22 * e2b details by @CakeCrusher in https://github.com/huggingface/smolagents/pull/72 * Fixed typos and grammatical errors in building_good_agents.md tutorial by @alxfgh in https://github.com/huggingface/smolagents/pull/89 **Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.0.0...v1.1.0