mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
fix: improve /model --fast description clarity and prevent accidental activation (#3077)
Replace vague "background tasks" with specific "prompt suggestions and speculative execution" in the --fast flag description across all i18n locales, docs, and VS Code schema. Update example model name from qwen3.5-flash to qwen3-coder-flash. Also fix completion logic to require a non-empty partial arg before suggesting --fast, preventing Tab+Enter from accidentally entering fast model mode. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
746f67f436
commit
5482044e59
12 changed files with 41 additions and 37 deletions
|
|
@ -21,11 +21,13 @@ export const modelCommand: SlashCommand = {
|
|||
},
|
||||
kind: CommandKind.BUILT_IN,
|
||||
completion: async (_context, partialArg) => {
|
||||
if ('--fast'.startsWith(partialArg)) {
|
||||
if (partialArg && '--fast'.startsWith(partialArg)) {
|
||||
return [
|
||||
{
|
||||
value: '--fast',
|
||||
description: t('Set fast model for background tasks'),
|
||||
description: t(
|
||||
'Set a lighter model for prompt suggestions and speculative execution',
|
||||
),
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue