github agno-agi/agno v2.4.1

14 hours ago

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_completion flag 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_id to 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

New Contributors

Full Changelog: v2.4.0...v2.4.1

Don't miss a new agno release

NewReleases is sending notifications on new releases.