Skip to content

Commit 2b7b875

Browse files
committed
chore(tui): mention /connect in welcome panel hints
Align the welcome panel with the /model picker so the empty-state copy points users to both /login and /connect.
1 parent f037ea6 commit 2b7b875

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.changeset/model-picker-empty-hint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@moonshot-ai/kimi-code": patch
33
---
44

5-
Show a hint pointing to /login (Kimi) and /connect (other providers) when /model is opened with no configured models.
5+
Show a hint pointing to /login (Kimi) and /connect (other providers) when /model is opened with no configured models, and surface the same hint on the welcome panel when no model is set.

apps/kimi-code/src/tui/components/chrome/welcome.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class WelcomeComponent implements Component {
4141
const dim = chalk.hex(this.colors.textDim);
4242
const labelStyle = chalk.bold.hex(this.colors.textDim);
4343
const rightRow1 = truncateToWidth(
44-
dim(isLoggedOut ? 'Run /login to sign in.' : 'Send /help for help information.'),
44+
dim(isLoggedOut ? 'Run /login or /connect to get started.' : 'Send /help for help information.'),
4545
textWidth,
4646
'…',
4747
);
@@ -52,7 +52,7 @@ export class WelcomeComponent implements Component {
5252
];
5353

5454
const modelValue = isLoggedOut
55-
? chalk.hex(this.colors.warning)('not set, send /login to login')
55+
? chalk.hex(this.colors.warning)('not set, run /login or /connect')
5656
: this.state.model;
5757

5858
const infoLines = [

0 commit comments

Comments
 (0)