mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
fix(cli): disable follow-up suggestions by default
Most Qwen OAuth users don't have a fast model configured for this feature, so it fires a wasted API request on every turn with no visible benefit. Default to off; users can opt in via settings.
This commit is contained in:
parent
9b22c9fa7c
commit
03fdaf2faa
3 changed files with 3 additions and 3 deletions
|
|
@ -518,7 +518,7 @@ const SETTINGS_SCHEMA = {
|
|||
label: 'Enable Follow-up Suggestions',
|
||||
category: 'UI',
|
||||
requiresRestart: false,
|
||||
default: true,
|
||||
default: false,
|
||||
description:
|
||||
'Show context-aware follow-up suggestions after task completion. Press Tab or Right Arrow to accept, Enter to accept and submit.',
|
||||
showInDialog: true,
|
||||
|
|
|
|||
|
|
@ -1113,7 +1113,7 @@ export const AppContainer = (props: AppContainerProps) => {
|
|||
|
||||
// Generate prompt suggestions when streaming completes
|
||||
const followupSuggestionsEnabled =
|
||||
settings.merged.ui?.enableFollowupSuggestions !== false;
|
||||
settings.merged.ui?.enableFollowupSuggestions === true;
|
||||
|
||||
useEffect(() => {
|
||||
// Clear suggestion when feature is disabled at runtime
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@
|
|||
"enableFollowupSuggestions": {
|
||||
"description": "Show context-aware follow-up suggestions after task completion. Press Tab or Right Arrow to accept, Enter to accept and submit.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
"default": false
|
||||
},
|
||||
"enableCacheSharing": {
|
||||
"description": "Use cache-aware forked queries for suggestion generation. Reduces cost on providers that support prefix caching (experimental).",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue