Skip to content

fix(tui): hide redundant Off option for always-on effort models - #1264

Merged
liruifengv merged 1 commit into
mainfrom
hide-off-always-on-effort
Jul 1, 2026
Merged

fix(tui): hide redundant Off option for always-on effort models#1264
liruifengv merged 1 commit into
mainfrom
hide-off-always-on-effort

Conversation

@liruifengv

Copy link
Copy Markdown
Collaborator

Related Issue

No related issue — minor TUI refinement.

Problem

In the /model picker, always-on models that expose multiple effort levels (for example low / high / max) already render only the effort segments, so Off can never be selected. The control still appended a greyed-out Off (Unsupported) label, which was redundant visual clutter for those models.

What changed

Drop the trailing Off (Unsupported) label for always-on, effort-capable models, so the thinking switcher shows only the selectable effort levels. Legacy boolean always-on models (no support_efforts) keep the Off (Unsupported) hint, and toggle / unsupported models are unchanged.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Always-on models that expose multiple effort levels already render only the effort segments in the /model switcher, so the trailing "Off (Unsupported)" label was non-selectable clutter. Drop it for those models while keeping it for legacy boolean always-on models.
@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: acba591

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 1, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@acba591
npx https://pkg.pr.new/@moonshot-ai/kimi-code@acba591

commit: acba591

@liruifengv
liruifengv merged commit 003733c into main Jul 1, 2026
10 checks passed
@liruifengv
liruifengv deleted the hide-off-always-on-effort branch July 1, 2026 10:33
@github-actions github-actions Bot mentioned this pull request Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant