Collected sources and patterns will appear here. Add from search or the patterns library.
(MessageHistory, ChatMessage) -> MessageHistory
Append new messages to a session-bound list and trim older messages to stay within token limits.
Problem it solves
Chat histories grow indefinitely, exceeding model context windows.
Consumes
Emits
The real projects this mechanism was found in. Attribution is the point — this is how the best teams actually do it.