Skip to content

fix: show full model name in footer without truncating provider prefix#310

Merged
liruifengv merged 2 commits into
mainfrom
fix-display_name
Jun 2, 2026
Merged

fix: show full model name in footer without truncating provider prefix#310
liruifengv merged 2 commits into
mainfrom
fix-display_name

Conversation

@liruifengv
Copy link
Copy Markdown
Collaborator

Related Issue

No related issue. This is a small UI fix that addresses an inconsistency in how model names are displayed.

Problem

The footer status bar truncated the provider prefix from model names by only keeping the portion after the last slash. Users could not see which provider provider was active when looking at the footer, which reduced the usefulness of the model name display.

What changed

Removed the \shortenModel\ truncation logic in the footer renderer so the full model name (including the provider prefix when it exists) is displayed. Model name resolution still follows the existing priority: displayName > model > state.model.

Full provider-prefixed names make it easier to distinguish models with the same base ID from different providers at a glance.

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.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 2, 2026

🦋 Changeset detected

Latest commit: b09b645

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
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 2, 2026

pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@b09b645
npx https://pkg.pr.new/@moonshot-ai/kimi-code@b09b645

commit: b09b645

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6812ff78db

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/kimi-code/src/tui/components/chrome/footer.ts
@liruifengv liruifengv merged commit a4511ff into main Jun 2, 2026
8 checks passed
@liruifengv liruifengv deleted the fix-display_name branch June 2, 2026 05:19
@github-actions github-actions Bot mentioned this pull request Jun 2, 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