New Features ✨
- Multiple Parallel Tool Calls: ToolCallingAgent can now handle multiple tool calls in parallel, significantly enhancing performance for complex tasks.
- Support multiple tool calls in parallel in ToolCallingAgent by @albertvillanova in #1412
- Streaming Output for ToolCallingAgent: ToolCallingAgent now supports streaming outputs, improving responsiveness and user experience during multi-step tool interactions
- Streaming outputs for ToolCallingAgent 🚀 by @aymeric-roucher in #1409
- API Web Search Tool: Introduced a new ApiWebSearchTool, enabling structured web search capabilities via API.
- Create API web search tool by @albertvillanova in #1400
Enhancements 🛠️
- Update prompts to avoid confusion: search -> web_search and wiki -> wiki_search by @SrzStephen in #1403
- Make Agent.system_prompt read only by @albertvillanova in #1399
- Support configurable tool_choice in prepare_completion_kwargs by @albertvillanova in #1392
- Support passing additional params to MLXModel load and tokenizer.apply_chat_template by @albertvillanova in #1406
- Support custom headers/params for ApiWebSearchTool by @albertvillanova in #1411
Bug Fixes 🐛
- Fix: Support custom inputs execution for custom Final Answer Tool by @Lrakotoson in #1383
- Fix @tool decorator for remote Python executor by @tobiasofsn in #1334
- Always pass add_generation_prompt=True to apply_chat_template by @albertvillanova in #1416
Documentation Improvements 📚
- Make docs neutral about agent types by @julien-c in #1376
- Add MCP tools doc section by @aymeric-roucher in #1394
- Update ToolCollection.from_mcp docstring examples by @neonwatty in #1398
- Document better final_answer_checks by @albertvillanova in #1407
- Fix typo in secure code execution documentation by @chahn in #1414
- Add chat server demo to examples by @albertvillanova in #1415
- Fix VLM model in web_browser example docs by @albertvillanova in #1424
- Fix ValueError on Guided Tour docs by @albertvillanova in #1425
- Explain agent types better in Guided tour docs by @albertvillanova in #1426
- Add Quickstart page to docs by @albertvillanova in #1413
Maintenance 🏗️
- Bump dev version: v1.18.0.dev0 by @albertvillanova in #1390
New Contributors
- @Lrakotoson made their first contribution in #1383
- @neonwatty made their first contribution in #1398
- @SrzStephen made their first contribution in #1403
- @chahn made their first contribution in #1414
Full Changelog: v1.17.0...v1.18.0