DOCSAPI reference

INTERFACE

FileInfo

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

File information without content

Properties

Property Type Description Defined in
lines number Line count. In filesystem mode it stays 0 until the file is first read. packages/components/src/agents/rlm/FileSystemContext.ts:16
path string Path relative to the context's base path. Memory mode uses __memory__.txt. packages/components/src/agents/rlm/FileSystemContext.ts:12
size number File size in bytes (in memory mode, the text length). packages/components/src/agents/rlm/FileSystemContext.ts:14