diff --git a/.changeset/footer-model-name-full.md b/.changeset/footer-model-name-full.md new file mode 100644 index 00000000..500287cc --- /dev/null +++ b/.changeset/footer-model-name-full.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +Show the full model name in the footer status bar instead of truncating the provider prefix. diff --git a/apps/kimi-code/src/tui/components/chrome/footer.ts b/apps/kimi-code/src/tui/components/chrome/footer.ts index b0807d69..38ce63ec 100644 --- a/apps/kimi-code/src/tui/components/chrome/footer.ts +++ b/apps/kimi-code/src/tui/components/chrome/footer.ts @@ -120,12 +120,6 @@ function tipsForIndex(index: number): { primary: string; pair: string | null } { return { primary: current.text, pair: current.text + TIP_SEPARATOR + next.text }; } -function shortenModel(model: string): string { - if (!model) return model; - const slash = model.lastIndexOf('/'); - return slash >= 0 ? model.slice(slash + 1) : model; -} - function modelDisplayName(state: AppState): string { const model = state.availableModels[state.model]; return model?.displayName ?? model?.model ?? state.model; @@ -245,7 +239,7 @@ export class FooterComponent implements Component { if (state.permissionMode === 'yolo') left.push(chalk.hex(colors.warning).bold('yolo')); if (state.planMode) left.push(chalk.hex(colors.primary).bold('plan')); - const model = shortenModel(modelDisplayName(state)); + const model = modelDisplayName(state); if (model) { const thinkingLabel = state.thinking ? ' thinking' : ''; const modelLabel = `${model}${thinkingLabel}`;