Skip to main content

Interface: ContextWindowStats

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:354

Extends​

Properties​

avgCompressionRatio​

avgCompressionRatio: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:178

Inherited from​

CompactionLogStats.avgCompressionRatio


avgDurationMs​

avgDurationMs: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:181

Inherited from​

CompactionLogStats.avgDurationMs


compactedMessageCount​

compactedMessageCount: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:360


currentTokens​

currentTokens: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:355


currentTurn​

currentTurn: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:358


enabled​

enabled: boolean

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:364


maxTokens​

maxTokens: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:356


messageCount​

messageCount: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:359


newestEntry​

newestEntry: CompactionEntry | undefined

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:183

Inherited from​

CompactionLogStats.newestEntry


oldestEntry​

oldestEntry: CompactionEntry | undefined

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:182

Inherited from​

CompactionLogStats.oldestEntry


strategy​

strategy: string

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:363


summaryChainNodes​

summaryChainNodes: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:361


summaryChainTokens​

summaryChainTokens: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:362


totalCompactions​

totalCompactions: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:175

Inherited from​

CompactionLogStats.totalCompactions


totalEntitiesPreserved​

totalEntitiesPreserved: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:180

Inherited from​

CompactionLogStats.totalEntitiesPreserved


totalInputTokens​

totalInputTokens: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:176

Inherited from​

CompactionLogStats.totalInputTokens


totalOutputTokens​

totalOutputTokens: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:177

Inherited from​

CompactionLogStats.totalOutputTokens


totalTracesCreated​

totalTracesCreated: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/CompactionLog.ts:179

Inherited from​

CompactionLogStats.totalTracesCreated


utilization​

utilization: number

Defined in: packages/agentos/src/cognition/memory/pipeline/context/ContextWindowManager.ts:357