Collected sources and patterns will appear here. Add from search, explore, or the patterns library.
List<ChatMessage> -> List<ChatMessage>
Compact a long conversation context into a shortened or summarized message list to fit token limits.
Problem it solves
Conversation histories exceed context window limits or increase API costs.
Consumes
Emits
The real projects this mechanism was found in. Attribution is the point — this is how the best teams actually do it.