tweak: adjust compaction to clearly indicate the convo history (#37195)

This commit is contained in:
Aiden Cline
2026-07-15 19:28:26 -05:00
committed by GitHub
parent 7624c4f7b3
commit b4be28d4c3
+1
View File
@@ -198,6 +198,7 @@ export const buildPrompt = (input: { readonly previousSummary?: string; readonly
? `Update the anchored summary below using the conversation history above.\nPreserve still-true details, remove stale details, and merge in the new facts.\n<previous-summary>\n${input.previousSummary}\n</previous-summary>`
: "Create a new anchored summary from the conversation history.",
SUMMARY_TEMPLATE,
"The following is the conversation history:",
...input.context,
].join("\n\n")