Commit Graph

3 Commits

Author SHA1 Message Date
Gal Zahavi 8aef2a400b feat(core): implement bounded history retention for GeminiChat
- Improved ToolOutputMaskingService to mask exceptionally large outputs (> 2x threshold) even in the latest turn.
- Implemented pruneHistory in GeminiChat with configurable turn and token limits to provide a hard safety net against OOM.
- Added getters and initialization for experimental history truncation settings in Config.
- Added comprehensive unit tests in geminiChat_pruning.test.ts.
- Verified with npm test and build.
2026-04-03 02:48:40 +00:00
Gal Zahavi 57eea87d41 perf(memory): implement cache eviction in ChatRecordingService and fix leak during resets 2026-04-03 02:36:05 +00:00
Gal Zahavi 21ecd3ca9f perf(memory): implement simulation script and identify growth sources 2026-04-03 02:29:16 +00:00