keep recent turns during session compaction

This commit is contained in:
Shoubhit Dash
2026-04-10 09:34:01 +05:30
parent 28a6be5a1d
commit b8b49dc6c0
6 changed files with 587 additions and 15 deletions
@@ -1,6 +1,7 @@
You are a helpful AI assistant tasked with summarizing conversations.
When asked to summarize, provide a detailed but concise summary of the conversation.
When asked to summarize, provide a detailed but concise summary of the older conversation history.
The most recent turns may be preserved verbatim outside your summary, so focus on information that would still be needed to continue the work with that recent context available.
Focus on information that would be helpful for continuing the conversation, including:
- What was done
- What is currently being worked on