You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dcp.schema.json
+33-5Lines changed: 33 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -133,8 +133,8 @@
133
133
"default": false,
134
134
"description": "Show compression summaries in notifications"
135
135
},
136
-
"contextLimit": {
137
-
"description": "When session tokens exceed this limit, a compress nudge is injected (\"X%\"uses percentage of the model's context window)",
136
+
"maxContextLimit": {
137
+
"description": "Soft upper threshold. Above this, DCP keeps sending strong compression nudges (based on nudgeFrequency), so the model is pushed to compress. Accepts number or \"X%\" of the model context window.",
"description": "Soft lower threshold for reminder nudges. Below this, turn/iteration reminders are off (compression is less likely). At or above this, reminders are on. Accepts number or \"X%\" of the model context window.",
151
+
"default": 30000,
152
+
"oneOf": [
153
+
{
154
+
"type": "number"
155
+
},
156
+
{
157
+
"type": "string",
158
+
"pattern": "^\\d+(?:\\.\\d+)?%$"
159
+
}
160
+
]
161
+
},
162
+
"modelMaxLimits": {
163
+
"description": "Per-model override for maxContextLimit by exact provider/model key. If set, this takes priority over the global maxContextLimit.",
164
+
"type": "object",
165
+
"additionalProperties": {
166
+
"oneOf": [
167
+
{
168
+
"type": "number"
169
+
},
170
+
{
171
+
"type": "string",
172
+
"pattern": "^\\d+(?:\\.\\d+)?%$"
173
+
}
174
+
]
175
+
}
176
+
},
177
+
"modelMinLimits": {
178
+
"description": "Per-model override for minContextLimit by exact provider/model key. If set, this takes priority over the global minContextLimit.",
151
179
"type": "object",
152
180
"additionalProperties": {
153
181
"oneOf": [
@@ -165,7 +193,7 @@
165
193
"type": "number",
166
194
"default": 5,
167
195
"minimum": 1,
168
-
"description": "How often the context-limit nudge fires when above contextLimit (1 = every fetch, 5 = every 5th fetch)"
196
+
"description": "How often the context-limit nudge fires when above maxContextLimit (1 = every fetch, 5 = every 5th fetch)"
0 commit comments