fix(session): remove compaction summary dividers (#24677)
This commit is contained in:
@@ -37,8 +37,8 @@ const PRUNE_PROTECTED_TOOLS = ["skill"]
|
|||||||
const DEFAULT_TAIL_TURNS = 2
|
const DEFAULT_TAIL_TURNS = 2
|
||||||
const MIN_PRESERVE_RECENT_TOKENS = 2_000
|
const MIN_PRESERVE_RECENT_TOKENS = 2_000
|
||||||
const MAX_PRESERVE_RECENT_TOKENS = 8_000
|
const MAX_PRESERVE_RECENT_TOKENS = 8_000
|
||||||
const SUMMARY_TEMPLATE = `Output exactly this Markdown structure and keep the section order unchanged:
|
const SUMMARY_TEMPLATE = `Output exactly the Markdown structure shown inside <template> and keep the section order unchanged. Do not include the <template> tags in your response.
|
||||||
---
|
<template>
|
||||||
## Goal
|
## Goal
|
||||||
- [single-sentence task summary]
|
- [single-sentence task summary]
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ const SUMMARY_TEMPLATE = `Output exactly this Markdown structure and keep the se
|
|||||||
|
|
||||||
## Relevant Files
|
## Relevant Files
|
||||||
- [file or directory path: why it matters, or "(none)"]
|
- [file or directory path: why it matters, or "(none)"]
|
||||||
---
|
</template>
|
||||||
|
|
||||||
Rules:
|
Rules:
|
||||||
- Keep every section, even when empty.
|
- Keep every section, even when empty.
|
||||||
|
|||||||
Reference in New Issue
Block a user