Skip to content

Commit 6b73e0c

Browse files
committed
set default contextLimit to 100000
1 parent e387576 commit 6b73e0c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,9 @@ DCP uses its own config file:
105105
> "nudgeEnabled": true,
106106
> "nudgeFrequency": 10,
107107
> // Token limit at which the model begins actively
108-
> // compressing session context. Best kept around 40-60% of
109-
> // the model's context window to stay in the "smart zone".
108+
> // compressing session context to keep the model in the "smart zone"
110109
> // Accepts: number or "X%" (percentage of model's context window)
111-
> "contextLimit": "60%",
110+
> "contextLimit": 100000,
112111
> // Additional tools to protect from pruning
113112
> "protectedTools": [],
114113
> },

dcp.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
},
112112
"contextLimit": {
113113
"description": "When session tokens exceed this limit, a compress nudge is injected (\"X%\" uses percentage of the model's context window)",
114-
"default": "60%",
114+
"default": 100000,
115115
"oneOf": [
116116
{
117117
"type": "number"

lib/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ const defaultConfig: PluginConfig = {
504504
nudgeEnabled: true,
505505
nudgeFrequency: 10,
506506
protectedTools: [...DEFAULT_PROTECTED_TOOLS],
507-
contextLimit: "60%",
507+
contextLimit: 100000,
508508
},
509509
distill: {
510510
permission: "allow",

0 commit comments

Comments
 (0)