You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Describe the bug
The Kimi Code backend returns the correct display_name (e.g. "Kimi-k2.6") for the "kimi-for-coding" model via the /models endpoint, and this value is correctly saved to the config file. However, model_display_name() in src/kimi_cli/llm.py contains a hardcoded override that forces any model named "kimi-for-coding" or "kimi-code" to display as "kimi-for-coding" instead of respecting the backend-provided display_name.
This causes the welcome panel, prompt status bar, and other UI elements to show the opaque internal ID instead of the human-readable model name (e.g. "Kimi-k2.6").
To Reproduce
Log in via /login with Kimi Code platform.
Run kimi and observe the welcome panel or prompt status bar shows "kimi-for-coding" instead of "Kimi-k2.6".
Query the API directly: curl -H 'Authorization: Bearer <token>' https://api.kimi.com/coding/v1/models — the response includes display_name: 'Kimi-k2.6'.
Check ~/.kimi/config.toml — display_name = 'Kimi-k2.6' is correctly persisted, but never shown.
Expected behavior
The UI should show "Kimi-k2.6" (or whatever display_name the backend provides) for the kimi-for-coding model.
Describe the bug
The Kimi Code backend returns the correct display_name (e.g. "Kimi-k2.6") for the "kimi-for-coding" model via the /models endpoint, and this value is correctly saved to the config file. However,
model_display_name()insrc/kimi_cli/llm.pycontains a hardcoded override that forces any model named "kimi-for-coding" or "kimi-code" to display as "kimi-for-coding" instead of respecting the backend-provided display_name.This causes the welcome panel, prompt status bar, and other UI elements to show the opaque internal ID instead of the human-readable model name (e.g. "Kimi-k2.6").
To Reproduce
kimiand observe the welcome panel or prompt status bar shows "kimi-for-coding" instead of "Kimi-k2.6".curl -H 'Authorization: Bearer <token>' https://api.kimi.com/coding/v1/models— the response includesdisplay_name: 'Kimi-k2.6'.display_name = 'Kimi-k2.6'is correctly persisted, but never shown.Expected behavior
The UI should show "Kimi-k2.6" (or whatever display_name the backend provides) for the kimi-for-coding model.
Environment