Overview
This patch release hardens every model-visible summary injection path so compressed history cannot accidentally behave like fresh instructions. Injected summaries now carry an explicit historical-context safety guard, and stale <next_reply_guidance> sections are removed before the summary is sent to the model.
Fixes
- Summary safety guard: All injected summaries now state that goals, open loops, and tool state inside the summary describe historical state only and must not override later messages.
- Stale guidance stripping:
<next_reply_guidance>blocks are removed from summaries before they become model-visible context. - Locale parity: Every supported
summary_prompt_prefixlocale includes the same historical-summary boundary language, preventing safety drift across UI languages. - Referenced summary parity: Cached, partial, and generated referenced-chat summaries now use the same guard and stale-guidance stripping as main chat summaries.
- Regression coverage: Tests cover standard summary injection, all translation locales, cached referenced summaries, partial summary plus raw-tail references, and generated referenced summaries.
Upgrade Notes
No database migration is required. Update or reinstall the filter so OpenWebUI's stored function content includes the v1.7.2 summary-injection guard and referenced-summary safety fixes.
Version Changes
Plugin Updates
- Async Context Compression: v1.7.1 → v1.7.2 | 📖 README
New Contributors
📚 Documentation Portal
🐛 Report Issues
Full Changelog: async-context-compression-v1.7.1...async-context-compression-v1.7.2