Skip to content

Commit d9a1275

Browse files
authored
Merge pull request #2954 from QwenLM/fix/disable-followup-suggestions-default
fix(cli): disable follow-up suggestions by default
2 parents 2a4e870 + 03fdaf2 commit d9a1275

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli/src/config/settingsSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ const SETTINGS_SCHEMA = {
518518
label: 'Enable Follow-up Suggestions',
519519
category: 'UI',
520520
requiresRestart: false,
521-
default: true,
521+
default: false,
522522
description:
523523
'Show context-aware follow-up suggestions after task completion. Press Tab or Right Arrow to accept, Enter to accept and submit.',
524524
showInDialog: true,

packages/cli/src/ui/AppContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ export const AppContainer = (props: AppContainerProps) => {
11131113

11141114
// Generate prompt suggestions when streaming completes
11151115
const followupSuggestionsEnabled =
1116-
settings.merged.ui?.enableFollowupSuggestions !== false;
1116+
settings.merged.ui?.enableFollowupSuggestions === true;
11171117

11181118
useEffect(() => {
11191119
// Clear suggestion when feature is disabled at runtime

packages/vscode-ide-companion/schemas/settings.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
"enableFollowupSuggestions": {
184184
"description": "Show context-aware follow-up suggestions after task completion. Press Tab or Right Arrow to accept, Enter to accept and submit.",
185185
"type": "boolean",
186-
"default": true
186+
"default": false
187187
},
188188
"enableCacheSharing": {
189189
"description": "Use cache-aware forked queries for suggestion generation. Reduces cost on providers that support prefix caching (experimental).",

0 commit comments

Comments
 (0)