fix: improve /model --fast description clarity#3077
Conversation
… activation 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>
📋 Review SummaryThis PR improves the clarity of the 🔍 General Feedback
🎯 Specific Feedback🟢 Medium
🔵 Low
✅ Highlights
|
tanzhenxin
left a comment
There was a problem hiding this comment.
LGTM — clean fix and thorough i18n coverage.
… activation (QwenLM#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>
… activation (QwenLM#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>
Motivation
Users reported that the
/model --fastdescription "Set fast model for background tasks" is unclear — they don't understand what "fast model" or "background tasks" means. Additionally,/model→ Tab → Enter accidentally triggers--fastmode instead of opening the model selection dialog, breaking the expected workflow.用户反馈
/model --fast的描述"设置后台任务的快速模型"含义不清——不理解"快速模型"和"后台任务"具体指什么。此外,输入/model→ Tab → Enter 会误触--fast模式,而非打开模型选择对话框,与预期操作习惯不符。Changes
1. Clarify description text (11 files — mostly i18n sync)
Replace vague wording with specific feature names across code, 6 i18n locales, 3 docs, and VS Code schema:
qwen3.5-flashqwen3-coder-flash2. Fix accidental --fast activation (1 file)
modelCommand.ts:'--fast'.startsWith(partialArg)matches empty string, so Tab-completing/modelimmediately shows--fastas the only suggestion, and Enter selects it.Fix:
partialArg && '--fast'.startsWith(partialArg)— only suggest--fastwhen the user starts typing (e.g.-,--f).Test plan
modelCommand.test.ts— 8/8 passed/model→ Tab → Enter → opens model dialog (no longer triggers--fast)/model→ Tab → type--→ Tab → shows--fastcompletion/model --fast→ opens fast model selection dialog🤖 Generated with Claude Code