brauliogusmao stops the chat from crashing mid-answer
A real upstream bug: responses that arrive live and contain a table or a formula could crash the chat window before they finished rendering.
When the assistant streams an answer onto the screen word by word, the display logic and the formatting logic were fighting over the same patch of screen - and when the answer happened to include a table or a math formula, the whole thing could fall over mid-stream. brauliogusmao traced it to a genuine flaw in Mike's upstream code, not a quirk of this fork.
The fix is pragmatic: while text is still arriving, formatting is held back and the raw response is shown plainly; the moment the answer completes, tables and formulas snap into their proper layout. You trade a second of unformatted text for a window that never crashes. It's a small change with a clear tradeoff baked in.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?