amysguan
47b0c87ebe
Add modes self and self_sliding_window for prompt caching ( #9372 )
...
* add self compaction method with proper caching (pass in tools, don't refresh sys prompt beforehand) + sliding fallback
* updated prompts for self compaction
* add tests for self, self_sliding_window modes and w/o refresh messages before compaction
* add cache logging to summarization
* better handling to prevent agent from continuing convo on self modes
* if mode changes via summarize endpoint, will use default prompt for the new mode
---------
Co-authored-by: Amy Guan <amy@letta.com >
2026-02-24 10:55:26 -08:00
..
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:12 -08:00
2026-01-29 12:43:53 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:26 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:12 -08:00
2026-02-24 10:55:24 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:08 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:08 -08:00
2026-01-12 10:57:19 -08:00
2025-10-07 17:50:46 -07:00
2026-02-24 10:55:11 -08:00
2026-01-29 12:44:04 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:12 -08:00
2026-02-24 10:55:11 -08:00
2025-10-07 17:50:46 -07:00
2026-02-24 10:55:12 -08:00
2026-02-24 10:55:12 -08:00
2026-02-24 10:55:08 -08:00
2025-12-15 12:02:18 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:26 -08:00
2026-02-24 10:52:07 -08:00
2026-01-12 10:57:19 -08:00
2026-01-12 10:57:19 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:11 -08:00
2025-11-13 15:35:34 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:12 -08:00
2026-02-24 10:52:06 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:08 -08:00
2025-11-13 15:36:56 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:11 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:12 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:55:08 -08:00
2026-01-29 12:44:04 -08:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:55:08 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:12 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:55:08 -08:00
2026-01-12 10:57:49 -08:00
2025-10-07 17:50:46 -07:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:52:07 -08:00
2026-01-19 15:54:39 -08:00
2026-02-24 10:55:11 -08:00
2025-12-15 12:02:18 -08:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:55:11 -08:00
2025-09-17 15:47:40 -07:00
2025-11-13 15:36:20 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:11 -08:00
2025-10-09 13:20:53 -07:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:26 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:55:11 -08:00
2025-10-07 17:50:50 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:26 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:11 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:08 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:12 -08:00
2026-02-24 10:55:11 -08:00
2025-11-24 19:11:18 -08:00