Bug fix in GPTalk: Code responses for Claude models are now formatted correctly in long chats [06.07.26]
A bug has been fixed in GPTalk that could lead to incorrectly formatted code responses during longer conversations with Claude models.
Some users may already have noticed this behaviour: in longer chats, code examples would sometimes become jumbled. Indentations were missing, comments were interpreted as headings, or individual lines of code suddenly appeared as normal running text instead of in a neatly formatted code block. The error occurred particularly reliably when a line of code began with an @, for example with Python decorators such as @staticmethod.
The cause lay in the transfer of the previous chat history to Claude. In certain cases, the history could arrive at Claude in a slightly altered form. The model then adopted and perpetuated this incorrect formatting in the subsequent chat history.
The error has now been fixed. As a result, code responses from the Claude models should once again remain reliably and correctly formatted, even in longer conversations.
Do you have questions or comments about this site? contact form