v4.5.0.5
clusterzx/paperless-aiv4.5.0.5May 21, 2026by sid-swirl
AI Summary
This patch fixes a regression in the RAG cache that caused AI summaries to be replaced by different content.
Key Highlights
- Fix for RAG UX bug where AI Summary appears then gets replaced
- Backend fix in `SearchRag.get_rag_result()` for cache logic
Full Release Notes
# SWIRL Community 4.5.0.5 ā RAG cache regression fix Follow-up patch on top of 4.5.0.4 that fixes a long-standing RAG UX bug exposed by 4.5.0.4 smoke testing: **intermittent: the AI Summary appears, then a few seconds later gets replaced by a different AI Summary.** ā PLEASE STAR OUR REPO: [https://github.com/swirlai/swirl-search](https://github.com/swirlai/swirl-search) š PLEASE VISIT OUR WEBSITE: [https://www.swirlaiconnect.com/](https://www.swirlaiconnect.com/) --- ## What's fixed **Backend** ā `swirl/views_helpers/search_rag.py` (`SearchRag.get_rag_result()`): - The cache check now correctly treats an empty `rag_query_items` (the typical state of Galaxy's follow-up `GET /sapi/detail-search-rag/?search_id=ā¦`) as 'no filter requested, serve whatever's stored' rather than 'items changed, regenerate'. ## Upgrading ā ļø **No database migration required.** 4.5.0.5 is a drop-in replacement for 4.5.0.4 (and for any earlier 4.5.0.x). Docker users: ``` docker pull swirlai/swirl-search:latest ``` See the [Docker Build Guide](https://docs.swirlaiconnect.com/DOCKER_BUILD.html#inspecting-the-published-image) for the SBOM / vulnerability inspection commands.