Skip to content

Commit fd722d2

Browse files
hannesrudolphdaniel-lxs
authored andcommitted
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 31ec17b commit fd722d2

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
@@ -254,10 +254,7 @@ export const ContextManagementSettings = ({
254254
</Button>
255255
</div>
256256
<div className="text-vscode-descriptionForeground text-sm mt-1">
257-
{maxDiagnosticMessages !== undefined && maxDiagnosticMessages <= 0
258-
? t("settings:contextManagement.diagnostics.maxMessages.unlimitedDescription") ||
259-
"All diagnostic messages will be included. Use with caution as this may significantly increase token usage."
260-
: t("settings:contextManagement.diagnostics.maxMessages.description")}
257+
{t("settings:contextManagement.diagnostics.maxMessages.description")}
261258
</div>
262259
</div>
263260
</Section>

0 commit comments

Comments
 (0)