[Bug] /model sent before the first session is consumed as the first message and reports a switch without opening the picker
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 7.7k
- Fork
- 1.3k
- Merge trung bình
- 12 giờ 57 phút
- Pull request đã merge (30 ngày)
- 308
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MoonshotAI/kimi-code
-
手机竖屏显示状态下输入框的扩展按钮没有显示Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MoonshotAI/kimi-code#4040 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
顶栏字体不随字体大小缩放bugĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MoonshotAI/kimi-code#4039 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
MoonshotAI/kimi-code#4010 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
MoonshotAI/kimi-code#4008 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(zh): configuration/providers.md is missing the "OAuth and credential injection" sectionĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
MoonshotAI/kimi-code#3947 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của MoonshotAI/kimi-code
Issue tương tự
-
bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pingdotgg/t3code#14452 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
solana-foundation/program-examples#747 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 9 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
remotion-dev/remotion#11847 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openwatersio/slackwater#355 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melgarafael/DeskcommCRM#1998 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày