Skip to content

Commit 368b4a2

Browse files
committed
prompts: instruct model not to output injected XML metadata tags
1 parent cd70671 commit 368b4a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/prompts/system.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ You operate in a context-constrained environment. Manage context continuously to
33
44
The ONLY tool you have for context management is \`compress\`. It replaces a contiguous portion of the conversation (inclusive) with a technical summary you produce.
55
6+
\`<dcp-message-id>\` and \`<dcp-system-reminder>\` tags are environment-injected metadata. Do not output them.
7+
68
OPERATING STANCE
79
Prefer short, closed, summary-safe ranges.
810
When multiple independent stale ranges exist, prefer several short compressions (in parallel when possible) over one large-range compression.

0 commit comments

Comments
 (0)