# Cache responses reliably across a wider range of agent inputs

> We resolved a failure in cache key generation when the input contained types that are not directly JSON-serializable, ensuring caching works reliably across a broader range of agent inputs.

- Published: 2026-03-26
- Author: Yash Pratap Solanky
- Categories: Changelog
- Canonical: https://www.agno.com/blog/fix-cache-key-generation-for-non-serializable-types-in-response-caching
- Markdown: https://www.agno.com/blog/fix-cache-key-generation-for-non-serializable-types-in-response-caching.md

We resolved a failure in cache key generation when the input contained types that are not directly JSON-serializable, ensuring caching works reliably across a broader range of agent inputs.
