X-07Sliding Window
Keep the last N turns verbatim; summarize everything older into a rolling digest.
Further reading
- Efficient Streaming Language Models with Attention Sinks Xiao et al., ICLR 2024
- MemGPT: Towards LLMs as Operating Systems Packer et al., 2023