v4.5.0.5
withastro/astrov4.5.0.5May 21, 2026by sid-swirl
AI Summary
This patch release resolves a RAG cache regression that caused the AI Summary to appear and later be replaced by a different one. It modifies the cache check logic in the backend to handle empty query items correctly.
Key Highlights
- Fixes RAG UX bug: AI Summary appears then gets replaced
- Backend fix in `swirl/views_helpers/search_rag.py`
- Cache check now treats empty `rag_query_items` as 'no filter requested'
- No database migration required
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.