Changelog
New Features:
- N1N Model Provider: Added n1n.ai as an OpenAI-compatible provider.
- Knowledge: Added first-class Excel ingestion
(.xlsx/.xls)by routing spreadsheets through the existing CSV reader, parsing workbooks per sheet into separate documents with sheet metadata. - Github/Sharepoint support: Added functionality in SDK and on API to support files in private github and sharepoint repos to be added to Knowledge.
Improvements:
- Streaming metrics: Add
collect_metrics_on_completionflag to only collect metrics from the final chunk. - Interfaces: Prevent errors on interfaces from ending up to the user facing message.
Bug Fixes:
- CustomEvent: Add
tool_call_idto trace events back to their originating tool calls. - Knowledge metadata: Fixed to properly propogate metdata filters while using knowledge
- Cerebras Model Provider: Fixed a 422 validation error when using Cerebras models with structured outputs (JSON schema format).
- Team task delegation: Fixed a Python closure bug in
Team.adelegate_task_to_members()where loop variables were not properly captured in async function definitions, causing all concurrent member agent runs to use the last member's values instead of their respective values. - Async generator tools: Handle async generator iteration exceptions gracefully by capturing the error on the tool call instead of re-raising, so the agent can continue and the model can decide how to proceed.
What's Changed
- fix: knowledge metadata propogation by @kausmeows in #6078
- fix: handle empty str password at knowledge level by @kausmeows in #6081
- fix: add additionalProperties: false to Cerebras JSON schemas by @deksprime in #6014
- fix: Python Closure Bug in team.py function
adelegate_task_to_membersby @d8rt8v in #6067 - ci: Run Claude Code automatically on PRs by @Mustafa-Esoofally in #6088
- fix: draft config retrieval and nested team member loading in components by @kausmeows in #6083
- fix: interfaces error handling by @VirusDumb in #6011
- fix: handle async generator exceptions gracefully like sync generators by @uzaxirr in #6108
- feat: add n1n provider by @n1n-api in #6056
- fix: Perplexity streaming token metrics accumulation by @celobusana in #6058
- feat: add tool_call_id into CustomEvent that yielded from tools in agent by @RayneSun in #6098
- chore: update ag infra templates by @ysolanky in #6079
- chore: improve CLAUDE.md documentation by @ysolanky in #6103
- chore: updated windows dev_setup script by @VirusDumb in #6024
- feat: Knowledge remote support by @willemcdejongh in #6106
- [feat] Support Excel files in Knowledge by @liqiongyu in #5862
- chore: Release 2.4.1 by @kausmeows in #6109
New Contributors
- @deksprime made their first contribution in #6014
- @n1n-api made their first contribution in #6056
- @RayneSun made their first contribution in #6098
Full Changelog: v2.4.0...v2.4.1