mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-26 09:34:47 +00:00
When a provider returns an HTML error page (e.g. nginx 413 Request Entity Too Large), the error message carried CRLF line endings and raw HTML. The trailing carriage returns made the TUI render the error line as blank. Extract the page title for the wire message and strip carriage returns before rendering.
149 B
149 B
| @moonshot-ai/kimi-code |
|---|
| patch |
Fix provider error messages rendering as blank lines in the TUI when the server returns an HTML error page.