Skip to content

Commit 224924a

Browse files
committed
fix: make diagnostic settings description static
- Remove dynamic description based on slider position - Always show comprehensive description explaining all diagnostic levels - Ensures users understand full range of options regardless of current setting
1 parent bc0276a commit 224924a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

webview-ui/src/components/settings/ContextManagementSettings.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,7 @@ export const ContextManagementSettings = ({
300300
</Button>
301301
</div>
302302
<div className="text-vscode-descriptionForeground text-sm mt-1">
303-
{maxDiagnosticMessages !== undefined && maxDiagnosticMessages <= 0
304-
? t("settings:contextManagement.diagnostics.maxMessages.unlimitedDescription") ||
305-
"All diagnostic messages will be included. Use with caution as this may significantly increase token usage."
306-
: t("settings:contextManagement.diagnostics.maxMessages.description")}
303+
{t("settings:contextManagement.diagnostics.maxMessages.description")}
307304
</div>
308305
</div>
309306
</Section>

0 commit comments

Comments
 (0)