tweak: adjust compaction to clearly indicate the convo history (#37195)
This commit is contained in:
parent
7624c4f7b3
commit
b4be28d4c3
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue