MoonshotAI / MoonshotAI/kimi-code
UI rendering broken after switching to third-party model in web interface
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What version of Kimi Code is running?
0.29.1
Which open platform/subscription were you using?
kimi code web
Which model were you using?
Qwen3.8 Max Preview(通过第三方平台接入[阿里云百练平台])
What platform is your computer?
Windows 11 x64
What issue are you seeing?
在 Kimi Code Web 界面中,当切换到第三方模型(如 Qwen3.8 Max Preview)后,聊天消息区域的文字显示出现严重的排版错乱。具体表现为:
- 消息内容被截断,只显示左侧一小部分文字;
- 文字似乎被挤压在一个很窄的纵向区域内;
- 正常换行和布局失效,导致内容几乎无法阅读;
- 切换回 Kimi 官方模型后显示正常。
What steps can reproduce the bug?
- 启动 Kimi Code Web 界面(
kimi或kimi --web); - 通过
/login或设置切换到第三方模型提供商; - 选择并切换至
Qwen3.8 Max Preview(或其他第三方模型); - 发送任意消息,观察聊天区域的渲染效果;
- 可见消息内容被截断/挤压,布局异常。
What is the expected behavior?
无论使用官方模型还是第三方模型,Web 界面的消息渲染布局应保持一致,文字应完整显示且排版正常,不应出现截断或挤压现象。
Additional information
该问题在 0.29.1 版本中稳定复现;
- 切换回 Kimi 官方模型(如 kimi-k3、k2.7 code)后显示恢复正常;
- 浏览器刷新页面后问题依旧,排除单纯的前端缓存问题;
- 建议检查第三方模型返回的流式输出是否在 Web UI 的 Markdown 渲染器中有特殊处理导致容器宽度计算错误。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Kimi Code Web interface on version 0.29.1 by switching to Qwen3.8 Max Preview through a third-party provider, then compare the same message with an official model. Start by tracing the web chat message rendering and streamed-output handling; done means third-party responses display with the same readable width, wrapping, and layout as official-model responses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100