Skip to content

Commit 72a535c

Browse files
authored
Merge pull request #90 from Tarquinen/docs/clarify-readme
Clarify README documentation
2 parents 7f07594 + a0d00c3 commit 72a535c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ DCP uses two complementary techniques:
3232

3333
**Automatic Deduplication** — Silently identifies repeated tool calls (e.g., reading the same file multiple times) and keeps only the most recent output. Runs on every request with zero LLM cost.
3434

35-
**AI Analysis** — Uses a language model to semantically analyze conversation context and identify tool outputs that are no longer relevant to the current task. More thorough but incurs LLM cost. Configurable via `strategies`.
35+
**AI Analysis** — Uses a language model to semantically analyze conversation context and identify tool outputs that are no longer relevant to the current task.
3636

3737
## Context Pruning Tool
3838

3939
When `strategies.onTool` is enabled, DCP exposes a `prune` tool to Opencode that the AI can call to trigger pruning on demand.
4040

41-
When `nudge_freq` is enabled, injects reminders (every `nudge_freq` tool results) prompting the AI to consider pruning when appropriate.
41+
Adjust `nudge_freq` to control how aggressively the AI is prompted to prune — lower values trigger reminders sooner and more often.
4242

4343
## How It Works
4444

@@ -70,7 +70,7 @@ DCP uses its own config file (`~/.config/opencode/dcp.jsonc` or `.opencode/dcp.j
7070
| `strategies.onIdle` | `["ai-analysis"]` | Strategies for automatic pruning |
7171
| `strategies.onTool` | `["ai-analysis"]` | Strategies when AI calls `prune` |
7272

73-
**Strategies:** `"ai-analysis"` uses LLM to identify prunable outputs. Empty array disables that trigger. Deduplication runs automatically on every request.
73+
**Strategies:** `"ai-analysis"` uses LLM to identify prunable outputs. Empty array disables that trigger. Deduplication always runs automatically. More strategies coming soon.
7474

7575
```jsonc
7676
{

0 commit comments

Comments
 (0)