brauliogusmao quietly fixes a chat crash everyone else probably has
A two-step patch to the assistant chat window stops the UI from crashing mid-answer when the AI is still typing.
The bug: while the assistant streams a reply, the chat window tries to render it on the fly through formatting helpers that handle things like math equations and tables. Those helpers don't cope well with half-finished text, and the result was the chat panel crashing in the middle of an answer.
The fix turns the fancy formatting off while the answer is streaming in, so the page stays stable, then switches it back on once the answer is complete so equations and tables still render properly. It's a small, surgical change - but the underlying bug is generic, meaning any other Mike fork using the same chat plumbing is almost certainly hitting it too without realising.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?