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
feat(config): make thinking idle threshold configurable and lower default to 5min
Align with observed provider prompt-cache TTL (~5 min). Add
`context.gapThresholdMinutes` setting so users can tune the threshold
for providers with different cache TTLs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/users/configuration/settings.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,6 +206,7 @@ The `extra_body` field allows you to add custom parameters to the request body s
206
206
|`context.fileFiltering.respectQwenIgnore`| boolean | Respect .qwenignore files when searching. |`true`|
207
207
|`context.fileFiltering.enableRecursiveFileSearch`| boolean | Whether to enable searching recursively for filenames under the current tree when completing `@` prefixes in the prompt. |`true`|
208
208
|`context.fileFiltering.enableFuzzySearch`| boolean | When `true`, enables fuzzy search capabilities when searching for files. Set to `false` to improve performance on projects with a large number of files. |`true`|
209
+
|`context.gapThresholdMinutes`| number | Minutes of inactivity after which retained thinking blocks are cleared to free context tokens. Aligns with typical provider prompt-cache TTL. Set higher if your provider has a longer cache TTL. |`5`|
Copy file name to clipboardExpand all lines: packages/vscode-ide-companion/schemas/settings.schema.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -383,6 +383,11 @@
383
383
"default": true
384
384
}
385
385
}
386
+
},
387
+
"gapThresholdMinutes": {
388
+
"description": "Minutes of inactivity after which retained thinking blocks are cleared to free context tokens. Aligns with provider prompt-cache TTL.",
0 commit comments