v1.19.0
Enhancements ๐ ๏ธ
-
Agent Upgrades:
- Support managed agents in ToolCallingAgent by @albertvillanova in https://github.com/huggingface/smolagents/pull/1456
- Support context managers for agent cleanup by @tobiasofsn in https://github.com/huggingface/smolagents/pull/1422
- Change code tags to xml by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1442
-
UI Improvements:
- Support reset_agent_memory in GradioUI by @JakeBx in https://github.com/huggingface/smolagents/pull/1420
-
Streaming Refactor:
- Transfer aggregation of streaming events off the Model class by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1449
-
Agent Output Tracking:
- Store CodeAgent code outputs in ActionStep by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1463
Bug Fixes ๐
- Fix Agent update planning logic by @Zoe14 in https://github.com/huggingface/smolagents/pull/1417
- Remove plural from named argument return_full_results in examples by @vladlen32230 in https://github.com/huggingface/smolagents/pull/1434
- Fix and refactor final answer checks by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1448
- Fix logging of Docker build logs by @tobiasofsn in https://github.com/huggingface/smolagents/pull/1421
- Add a mention of additional_args in the manager agent's prompt by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1441
- Fix missing mentions of additional_args in manager agent prompts by @albertvillanova in https://github.com/huggingface/smolagents/pull/1459
- Fix:
__new__method only accepts class object, remove **args and **kwโฆ by @abdulhakkeempa in https://github.com/huggingface/smolagents/pull/1462 - Do not wrap types in safer_func by @albertvillanova in https://github.com/huggingface/smolagents/pull/1475
- Match multiline final answers in remote executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/1444
- Revert removal of the last message from memory_messages during planning by @Zoe14 in https://github.com/huggingface/smolagents/pull/1454
Documentation Improvements ๐
-
Quickstart Enhancements:
- Add simple tool usage in doc quickstart by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1470
- Add open-colab link to Quickstart docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1472
-
Reference Docs:
- Add AgentMemory to Reference docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1473
- Add docstrings to GradioUI by @albertvillanova in https://github.com/huggingface/smolagents/pull/1451
-
Fixes & Formatting:
- Correct broken link in documentation homepage by @johntony366 in https://github.com/huggingface/smolagents/pull/1468
- Rename docs files from .mdx to .md by @albertvillanova in https://github.com/huggingface/smolagents/pull/1471
Maintenance ๐๏ธ
- Bump dev version: v1.19.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1427
New Contributors
- @Zoe14 made their first contribution in https://github.com/huggingface/smolagents/pull/1417
- @vladlen32230 made their first contribution in https://github.com/huggingface/smolagents/pull/1434
- @JakeBx made their first contribution in https://github.com/huggingface/smolagents/pull/1420
- @abdulhakkeempa made their first contribution in https://github.com/huggingface/smolagents/pull/1462
- @johntony366 made their first contribution in https://github.com/huggingface/smolagents/pull/1468
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.18.0...v1.19.0