gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

Chat gets stuck processing markdown with certain prompts in 3.0.0

Open brankoradovanovic-mcom opened this issue 7 months ago • 9 comments

Bug Report

When one enters a certain prompts (the text from https://users.ece.cmu.edu/~gamvrosi/thelastq.html for instance), the chat gets stuck: there is apparently some processing going on, but it never produces a response.

--- UPDATE:

I've confirmed this is caused by an issue processing markdown in the ChatViewTextProcessor class. When we attempt to insert this text as markdown into the QTextDocument it produces a never ending loop of QTextDocument::contentsChanged signals to be emitted.

brankoradovanovic-mcom avatar Jul 02 '24 18:07 brankoradovanovic-mcom