[Bug] /model sent before the first session is consumed as the first message and reports a switch without opening the picker
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- cli
Direzione di ricerca
Start by reproducing the issue in a fresh kimi session and trace how an early /model submission is handled before the first real message. Confirm the intended behavior with the issue’s two options, then verify that the command opens the Select a model picker or returns an explicit error without creating a session or reporting a switch.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What version of Kimi Code is running?
Observed on 2026-09-15; kimi --version currently reports 2.1.1. Not yet re-verified on 2.1.1.
Which model were you using?
Whatever the fresh session shows in the footer — the failure does not depend on a particular model.
What platform is your computer?
Darwin 27.0.0 arm64 arm
What issue are you seeing?
On a brand-new session the screen says there is no session yet and that one will be created on the first message. Sending /model at that moment does not open "Select a model". The slash text is accepted as the first user message, and the UI then prints a "Switched to ..." line for the current model, which looks like a successful switch. The picker never appeared, so any following filter text is not treated as type-to-search.
What steps can reproduce the bug?
- Start
kimiso the first screen is an empty session (no prior conversation in that terminal). - Before any normal chat message, submit the line
/model. - Expected: a picker titled
Select a model. - Observed: no picker; a "Switched to " line appears and the session now exists.
What is the expected behavior?
/model is a slash command. Before the first real message it should open the model picker, or be rejected with an error saying slash commands are not available yet. It should not create the session and should not print a switch confirmation for a picker that never opened.
Additional information
Waiting until the composer is clearly ready and then sending /model does open the picker — the problem is specific to the early submit.
Possibly related: #3830 (settings in a new-session draft not reaching the first turn) — same "before the session exists" window, different symptom.
- Lingua principale
- TypeScript
- Stelle
- 7.7k
- Fork
- 1.3k
- Merge medio
- 12h 48m
- PR unite (30g)
- 315
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MoonshotAI/kimi-code
-
手机竖屏显示状态下输入框的扩展按钮没有显示Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
MoonshotAI/kimi-code#4040 ·
I maintainer di solito rispondono entro 1 giorno
-
顶栏字体不随字体大小缩放bugApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
MoonshotAI/kimi-code#4039 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
MoonshotAI/kimi-code#4010 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
MoonshotAI/kimi-code#4008 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
MoonshotAI/kimi-code#3947 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di MoonshotAI/kimi-code
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
rohitg00/agentmemory#1428 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
boxlite-ai/boxlite#1729 ·
I maintainer di solito rispondono entro 1 giorno
-
detectors enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
SM260845/readme-gen#1 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
angular/angularfire#3774 ·
I maintainer di solito rispondono entro 2 giorni