klyn.llm.LLMChatSession.withCompactor
method
public withCompactor(strategy as String, threshold as Int) as LLMChatSession:
Description
Configures context compaction. The system prompt is preserved while older exchanges may be summarized once the estimated context exceeds `threshold`.