We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5353cf commit ac00eefCopy full SHA for ac00eef
src/core/condense/index.ts
@@ -102,7 +102,7 @@ export async function summarizeConversation(
102
103
// Always preserve the first message (which may contain slash command content)
104
const firstMessage = messages[0]
105
- // Get messages to summarize, excluding the first message and last N messages
+ // Get messages to summarize, including the first message and excluding the last N messages
106
const messagesToSummarize = getMessagesSinceLastSummary(messages.slice(0, -N_MESSAGES_TO_KEEP))
107
108
if (messagesToSummarize.length <= 1) {
0 commit comments