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
fix: change diagnostic limiting from size-based to count-based
- Modified diagnosticsToProblemsString() to limit by message count instead of content size
- Updated UI description to accurately reflect count-based limiting
- Updated tests to verify count-based limiting works correctly
- When maxDiagnosticMessages is set to 1, it now shows exactly 1 diagnostic message
Copy file name to clipboardExpand all lines: webview-ui/src/i18n/locales/en/settings.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -495,7 +495,7 @@
495
495
},
496
496
"maxMessages": {
497
497
"label": "Maximum diagnostic messages",
498
-
"description": "Controls the approximate size limit for diagnostic messages. The value represents a multiplier for content size (each unit ≈ 1KB). This prevents context overflow by limiting total diagnostic content rather than count. Higher values allow more diagnostic information but increase token usage.",
498
+
"description": "Limits the number of diagnostic messages (errors, warnings) included in the context. When set, only this many diagnostics will be shown, prioritizing errors over warnings. Set to 0 for unlimited diagnostics.",
0 commit comments