Uses of Record Class
com.tnsai.context.compaction.CompactionConfig
Packages that use CompactionConfig
Package
Description
Context compaction for long-running agent sessions.
-
Uses of CompactionConfig in com.tnsai.context.compaction
Methods in com.tnsai.context.compaction that return CompactionConfigMethods in com.tnsai.context.compaction with parameters of type CompactionConfigModifier and TypeMethodDescriptionCompacts the given messages according to configuration.default booleanContextCompactor.shouldCompact(int currentTokens, int maxTokens, CompactionConfig config) Checks if compaction is needed based on current token count.booleanTwoPhaseCompactor.shouldCompact(int currentTokens, int maxTokens, CompactionConfig config) Two-phase shouldCompact: checks threshold and delegates to phase 1 first. -
Uses of CompactionConfig in com.tnsai.session.consolidation
Methods in com.tnsai.session.consolidation with parameters of type CompactionConfigModifier and TypeMethodDescriptionMemoryConsolidationPipeline.Builder.compactionConfig(CompactionConfig config)