Chat responses are frequently malformed, with parts of the AI’s response getting sucked into a code block, and then re-stated after the code block. Makes output confusing and cluttered and difficult to work with.
Hey, thanks for the report. The formatting issue where text gets duplicated inside and after code blocks isn’t expected behavior. It’s a long‑standing bug that we’ve already fixed.
To help narrow it down, please check:
Does it also happen with other models (e.g., Claude 4.5 Sonnet)?
If you export the chat (click the three dots in the top‑right of the chat → Export Chat), does the raw markdown show the duplication, or is it only a rendering issue?
This will help us see whether it’s specific to GPT‑4.1 output or a broader formatting/rendering problem.