DOCSAPI reference

INTERFACE

MemoryUsage

Defined in: packages/components/src/agents/rlm/FileSystemContext.ts:36

Memory usage information

Properties

Property Type Description Defined in
bytesRead number Bytes currently held in the content cache. Not a cumulative total. packages/components/src/agents/rlm/FileSystemContext.ts:38
cacheEntries number Number of files currently in the content cache. packages/components/src/agents/rlm/FileSystemContext.ts:46
cacheSize number Bytes currently held in the content cache. packages/components/src/agents/rlm/FileSystemContext.ts:44
maxBytes number Cache capacity in bytes (maxCacheSize). packages/components/src/agents/rlm/FileSystemContext.ts:40
percentUsed number Cache use as a percentage of maxBytes. packages/components/src/agents/rlm/FileSystemContext.ts:42