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:
hzchat
2026-04-29 15:05:58 +08:00
parent a2cfaf9111
commit 29a1edbf46

View File

@@ -279,6 +279,7 @@ export function ModelPicker({
<Text color="subtle">
<EffortLevelIndicator effort={undefined} /> 1M context off
{focusedModelName ? ` for ${focusedModelName}` : ''}
<Text color="subtle"> · Space to toggle</Text>
</Text>
)}
</Box>