CreateFileCheckpointStoreOptions
이 콘텐츠는 아직 번역되지 않았습니다.
createFileCheckpointStore 的选项:快照根目录 + 可选保留策略
dir: string;快照根目录(显式传入,恒不隐式扫用户目录);布局 <dir>/<sessionId>/<checkpointId>.json
optional max?: number;同会话快照数上限;到顶按时间序淘汰最旧,不分 trigger(缺省不限)。= retention.max 别名(同给时 retention 优先)
retention?
Section titled “retention?”optional retention?: CheckpointRetention;保留策略:max / maxAgeDays 并集,kernel 在写后施行;刚写入者恒保留
이 페이지가 도움이 되었나요?
피드백 감사합니다. 이 문서를 계속 개선하겠습니다.