mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 08:15:53 +00:00
fix: 在模型选择器中 1M 上下文关闭状态也显示 "Space to toggle" 提示
之前在 ModelPicker 中,只有 1M 上下文开启时才显示 "Space to toggle" 操作提示, 关闭状态时没有任何提示,导致用户不知道如何通过空格键来切换 1M 上下文开关。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -279,6 +279,7 @@ export function ModelPicker({
|
|||||||
<Text color="subtle">
|
<Text color="subtle">
|
||||||
<EffortLevelIndicator effort={undefined} /> 1M context off
|
<EffortLevelIndicator effort={undefined} /> 1M context off
|
||||||
{focusedModelName ? ` for ${focusedModelName}` : ''}
|
{focusedModelName ? ` for ${focusedModelName}` : ''}
|
||||||
|
<Text color="subtle"> · Space to toggle</Text>
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user