v2.3.20
agno-agi/agnov2.3.20Dec 22, 2025by manuhortet
AI Summary
This release focuses on enhancing agent cancellation capabilities and improving data handling for LiteLLM models and AgentOS memories. It includes bug fixes for async retries and resolves issues related to database migration from v1 to v2.
Key Highlights
- Added async methods and a custom cancellation manager for Run Cancellation.
- Extracted `reasoning_content` from LiteLLM model wrappers.
- Fixed duplicate responses in async agent runs when retries are enabled.
- Improved handling for nested memory content and fixed session sorting for migrated data.
New Features
- Custom Run Cancellation Manager
- LiteLLM Reasoning Content Extraction
Full Release Notes
# Changelog ## Improvements - **Run Cancellation**: Add async methods to our Run Cancellation setup, and allow users to set a custom one using `set_cancellation_manager()`. - **`reasoning_content` for LiteLLM model wrapper:** Extract reasoning content from the models which support it via lite llm ## Bug Fixes: - **Agent Run Retries**: Fixed an issue duplicating responses when running asynchronously with `retries` set to more than 1. - **Complex Memories on AgentOS**: Improve handling for nested memory content on the OS API. This also fixes an issue with some memories resulting from the v1 → v2 database migration. - **Session sorting on AgentOS**: Fixed an issue sorting sessions migrated from v1 to v2, that can have empty `updated_at` values. - **Memory Dates**: Fixed an issue handling some date formats when initializing User Memories. ## What's Changed * chore: Getting Started Cookbook by @ashpreetbedi in https://github.com/agno-agi/agno/pull/5800 * fix: update agent name to remove slash in typed input/output by @anuragts in https://github.com/agno-agi/agno/pull/5821 * fix: Clean up finally logic of agent/team by @dirkbrnd in https://github.com/agno-agi/agno/pull/5786 * fix: better handling for memories migrated from v1 by @manuhortet in https://github.com/agno-agi/agno/pull/5823 * fix: handle NULL `updated_at` from pre 2.0 versions by @kausmeows in https://github.com/agno-agi/agno/pull/5824 * [feat] use async methods for run manager in async context by @adiberk in https://github.com/agno-agi/agno/pull/5756 * [fix] add reasoning_content extraction to LiteLLM model wrapper by @SethBurkart123 in https://github.com/agno-agi/agno/pull/5819 * fix: normalize UserMemory created_at and updated_at fields by @liqiongyu in https://github.com/agno-agi/agno/pull/5809 * chore: v2.3.20 by @manuhortet in https://github.com/agno-agi/agno/pull/5822 ## New Contributors * @SethBurkart123 made their first contribution in https://github.com/agno-agi/agno/pull/5819 * @liqiongyu made their first contribution in https://github.com/agno-agi/agno/pull/5809 **Full Changelog**: https://github.com/agno-agi/agno/compare/v2.3.19...v2.3.20