fix: hide system prompt optimization in VS Code

Removes the system prompt optimization section from the Behavior page in VS Code runtime.
Updates settings search so the hidden option is not shown as available in VS Code.
This commit is contained in:
Bohdan Triapitsyn
2026-07-29 20:12:31 +03:00
parent 5c687aca6d
commit 8f273b583d
2 changed files with 30 additions and 25 deletions
+1
View File
@@ -562,6 +562,7 @@ const SETTINGS_SEARCH_ITEMS: readonly SettingsSearchItem[] = [
titleKey: 'settings.behavior.page.section.systemPromptOptimization',
descriptionKey: 'settings.behavior.page.systemPromptOptimization.info',
keywords: ['system prompt', 'tokens', 'context', 'optimize', 'minimal'],
isAvailable: (ctx) => !ctx.isVSCode,
},
{
id: 'behavior.system-prompt',