Skip to content

Commit a3eb386

Browse files
committed
docs: clarify discardTool and extractTool comments
1 parent e34a9da commit a3eb386

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ DCP uses its own config file:
7474
"supersedeWrites": {
7575
"enabled": true
7676
},
77-
// Exposes a discard tool to your LLM for removing unneeded tool outputs
77+
// Removes tool content from context without preservation (for completed tasks or noise)
7878
"discardTool": {
7979
"enabled": true,
8080
// Additional tools to protect from pruning
@@ -90,7 +90,7 @@ DCP uses its own config file:
9090
"frequency": 10
9191
}
9292
},
93-
// Exposes an extract tool to your LLM for distilling context before removal
93+
// Distills key findings into preserved knowledge before removing raw content
9494
"extractTool": {
9595
"enabled": true,
9696
// Additional tools to protect from pruning

lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ function createDefaultConfig(): void {
420420
"supersedeWrites": {
421421
"enabled": true
422422
},
423-
// Exposes a discard tool to your LLM to call when it determines pruning is necessary
423+
// Removes tool content from context without preservation (for completed tasks or noise)
424424
"discardTool": {
425425
"enabled": true,
426426
// Additional tools to protect from pruning
@@ -436,7 +436,7 @@ function createDefaultConfig(): void {
436436
"frequency": 10
437437
}
438438
},
439-
// Exposes an extract tool to your LLM to call when it determines pruning is necessary
439+
// Distills key findings into preserved knowledge before removing raw content
440440
"extractTool": {
441441
"enabled": true,
442442
// Additional tools to protect from pruning

0 commit comments

Comments
 (0)